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