fix: dev build

This commit is contained in:
cha0s 2020-12-06 06:06:01 -06:00
parent f84f62cc6a
commit 7d11a5a031

View File

@ -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';