Skip to content

Instantly share code, notes, and snippets.

@narqo
Created August 7, 2015 10:20
Show Gist options
  • Save narqo/367b5bdcc864828173e6 to your computer and use it in GitHub Desktop.
Save narqo/367b5bdcc864828173e6 to your computer and use it in GitHub Desktop.
import 'ym';
import './blocks/block1.js';
import './blocks/block2.js';
import './blocks/block3.js';
console.log(a);
module.exports = {
context : __dirname,
entry : {
javascript : './main.js'
},
output : {
path : __dirname + '/build',
filename : 'bundle.js'
},
module : {
loaders : [
{
test : /\.js$/,
loader : 'babel-loader',
query : {
optional : ['runtime'],
plugins : 'bem',
loose : ['es6.modules']
}
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment