-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.release.cirru
46 lines (39 loc) · 1.19 KB
/
webpack.release.cirru
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
var
path $ require :path
webpack $ require :webpack
AssetsPlugin $ require :assets-webpack-plugin
webpackDev $ require :./webpack.dev
DuplicatePackageCheckerPlugin $ require :duplicate-package-checker-webpack-plugin
= module.exports
{}
:mode :production
:entry $ {}
:main $ [] :./src/main
:output $ {}
:path $ path.join __dirname :dist/
:filename :[name].[chunkhash:8].js
:devtool :none
:resolve webpackDev.resolve
:module $ {}
:rules $ []
{} (:test /\.cirru$) (:loader :cirru-script-loader) (:exclude /node_modules)
{} (:test /\.cr$) (:loader :raw-loader)
{} (:test "/\\.(png|jpg)$") (:loader :url-loader)
:query $ {} (:limit 100)
{} (:test /\.css$) $ :loaders $ [] :style-loader :css-loader
:stats $ {}
:all false
:colors true
:errors true
:errorDetails true
:performance true
:reasons true
:timings true
:warnings true
:plugins $ []
new AssetsPlugin $ {}
:filename :dist/assets.json
new webpack.DefinePlugin $ {}
:process.env $ {}
:NODE_ENV $ JSON.stringify :production
new DuplicatePackageCheckerPlugin