mirror of
https://github.com/c8r/x0.git
synced 2024-09-11 13:45:52 +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)
|
const config = merge(baseConfig, opts.webpack)
|
||||||
|
|
||||||
config.mode = 'development'
|
config.mode = 'development'
|
||||||
config.entry = path.join(__dirname, './entry.js')
|
config.entry = opts.entry || path.join(__dirname, './entry.js')
|
||||||
config.output= {
|
config.output= {
|
||||||
path: opts.tempdir,
|
path: opts.tempdir,
|
||||||
filename: 'App.js',
|
filename: 'App.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user