Created
October 26, 2017 06:01
-
-
Save dclarke-modus/7d66ef6ae1113284de70d096a02a7f7c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
entry : __dirname + '/app/index.js', | |
module : { | |
loaders: [ | |
{ | |
test: /\.js$/, | |
exclude: /node_modules/, | |
loader: 'babel-loader' | |
}, | |
{ | |
test: /\.scss$/, | |
loaders: ["style", "css", "sass"] | |
} | |
] | |
}, | |
output: { | |
filename : 'bundled.js', | |
path : __dirname + '/build' | |
}, | |
watch: true, | |
watchOptions: { | |
aggregateTimeout: 300, | |
poll: 200 | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment