-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.dev.cirru
56 lines (48 loc) · 1.25 KB
/
webpack.dev.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
47
48
49
50
51
52
53
54
55
56
var
fs $ require :fs
path $ require :path
webpack $ require :webpack
= module.exports
{}
:mode :development
:entry $ {}
:main $ [] :webpack-hud :./src/main
:output $ {}
:path $ path.join __dirname :dist/
:filename :[name].js
:devtool :cheap-source-map
:resolve $ {}
:extensions $ [] :.js :.coffee
:module $ {}
:rules $ []
{} (:test /\.cirru$) (:exclude /node_modules)
:use :cirru-script-loader
{} (:test /\.coffee$) (:exclude /node_modules)
:use :coffee-loader
{} (:test "/\\.(png|jpg|gif)$")
:loader :url-loader
:query $ {} (:limit 100)
{} (:test /\.css$) $ :use
[]
{} (:loader :style-loader)
{} (:loader :css-loader)
{} (:test /\.json$)
:use $ [] $ {} (:loader :json-loader)
:devServer $ {}
:publicPath :/
:hot true
:compress true
:clientLogLevel :info
:disableHostCheck true
:host :0.0.0.0
:stats $ {}
:all false
:colors true
:errors true
:errorDetails true
:performance true
:reasons true
:timings true
:warnings true
:plugins $ []
new webpack.NamedModulesPlugin