fix: dev build
This commit is contained in:
parent
f84f62cc6a
commit
7d11a5a031
|
@ -13,9 +13,7 @@ const {
|
|||
module.exports = {
|
||||
use: [
|
||||
(neutrino) => {
|
||||
const root = 'production' === neutrino.config.get('mode')
|
||||
? __dirname
|
||||
: `${__dirname}/../..`;
|
||||
const root = __dirname;
|
||||
neutrino.options.root = fs.realpathSync(root);
|
||||
neutrino.options.source = 'client';
|
||||
neutrino.options.mains.index = 'index';
|
||||
|
|
Loading…
Reference in New Issue
Block a user