Created
April 20, 2017 01:02
-
-
Save dong-qian/4b8c63ec77af964f0ceb5bfad10507f7 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: './src/js/app.js', | |
output: { | |
path: __dirname+'/dist', | |
filename: 'bundle.js' | |
}, | |
module:{ | |
loaders: [ | |
{test: /\.css$/, loader: "style-loader!css-loader"}, | |
{test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/, query:{presets:['es2015']}} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment