1
1
mirror of https://github.com/c8r/x0.git synced 2024-08-17 01:10:32 +03:00

Add entry option for build

This commit is contained in:
Brent Jackson 2018-06-11 20:44:05 -04:00
parent 0a70b39ad3
commit b20e32178b

View File

@ -18,7 +18,7 @@ const getApp = opts => {
const config = merge(baseConfig, opts.webpack)
config.mode = 'development'
config.entry = path.join(__dirname, './entry.js')
config.entry = opts.entry || path.join(__dirname, './entry.js')
config.output= {
path: opts.tempdir,
filename: 'App.js',