mirror of
https://github.com/c8r/x0.git
synced 2024-08-17 01:10:32 +03:00
Add dev option for custom entry
This commit is contained in:
parent
96e12f0a43
commit
d99b5fb7b5
@ -23,7 +23,7 @@ module.exports = async (opts) => {
|
||||
|
||||
config.mode = 'development'
|
||||
config.context = opts.dirname
|
||||
config.entry = path.join(__dirname, './entry')
|
||||
config.entry = opts.entry || path.join(__dirname, './entry')
|
||||
config.output= {
|
||||
path: path.join(process.cwd(), 'dev'),
|
||||
filename: 'dev.js',
|
||||
|
Loading…
Reference in New Issue
Block a user