[webpack.config] added page 'login.js'
This commit is contained in:
parent
2411b2ed88
commit
58a527d9d1
|
@ -60,6 +60,18 @@ module.exports = [ {
|
||||||
module: mod_common,
|
module: mod_common,
|
||||||
devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
|
devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
|
||||||
|
|
||||||
|
}, {
|
||||||
|
|
||||||
|
name: "login",
|
||||||
|
entry: './webpack/page/login.js',
|
||||||
|
output: {
|
||||||
|
path: path.resolve(__dirname, './public_html/js/bundle'),
|
||||||
|
publicPath: '/js/bundle/',
|
||||||
|
filename: 'login@0.js'
|
||||||
|
},
|
||||||
|
module: mod_common,
|
||||||
|
devtool: (process.env.NODE_ENV==='development') ? '#eval-source-map' : false
|
||||||
|
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue