Created
August 7, 2015 10:20
-
-
Save narqo/367b5bdcc864828173e6 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
import 'ym'; | |
import './blocks/block1.js'; | |
import './blocks/block2.js'; | |
import './blocks/block3.js'; | |
console.log(a); |
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 = { | |
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