Skip to content

Instantly share code, notes, and snippets.

@dclarke-modus
Created October 26, 2017 06:01
Show Gist options
  • Save dclarke-modus/7d66ef6ae1113284de70d096a02a7f7c to your computer and use it in GitHub Desktop.
Save dclarke-modus/7d66ef6ae1113284de70d096a02a7f7c to your computer and use it in GitHub Desktop.
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