feature/file-templates: add __webpack.config.js template
This commit is contained in:
parent
ac5ad085dc
commit
3ce0e7d9c9
2 changed files with 20 additions and 4 deletions
|
@ -0,0 +1,15 @@
|
|||
module.exports = {
|
||||
entry: [
|
||||
${1:'./app/main.js'}
|
||||
],
|
||||
output: {
|
||||
path: __dirname + '/dist',
|
||||
filename: "app.bundle.js"
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.js$/, include: __dirname + '/app', loader: 'babel-loader' }$0
|
||||
]
|
||||
}
|
||||
// plugins: []
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue