organize web pack to prod/vs/dev
This commit is contained in:
parent
52f5ba1dad
commit
01d025a7bf
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
||||||
const path = require('path')
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
entry: './src/js/index.js',
|
|
||||||
output: {
|
|
||||||
path: path.resolve(__dirname, 'public/'),
|
|
||||||
filename: 'bundle.js'
|
|
||||||
},
|
|
||||||
devtool: 'source-map',
|
|
||||||
module: {
|
|
||||||
loaders: [
|
|
||||||
{ test: /\.css$/, loader: 'style-loader!css-loader' }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue