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:
parent
0a70b39ad3
commit
b20e32178b
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user