[webpack.config] added page 'login.js'

This commit is contained in:
xdrm-brackets 2018-03-03 15:55:39 +01:00
parent 2411b2ed88
commit 58a527d9d1
1 changed files with 12 additions and 0 deletions

View File

@ -60,6 +60,18 @@ module.exports = [ {
module: mod_common,
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
} ]