mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
temporary for for Core.Builder
This commit is contained in:
parent
d593d11720
commit
6146de34f8
8
index.js
8
index.js
@ -14,11 +14,15 @@ require('source-map-support').install();
|
||||
|
||||
// Require Core
|
||||
const Core = require('./dist/core.js')
|
||||
Object.assign(exports, Core.default || Core)
|
||||
// Object.assign(exports, Core.default || Core)
|
||||
|
||||
// Require Builder
|
||||
const Builder = require('./dist/builder')
|
||||
Object.assign(exports, Builder.default || Builder)
|
||||
// Object.assign(exports, Builder.default || Builder)
|
||||
|
||||
// FIXME
|
||||
Object.assign(Core.default || Core, Builder.default || Builder)
|
||||
module.exports = Core.default || Core
|
||||
|
||||
// Use special env flag to specify app dir without modify builder
|
||||
if (!process.env.NUXT_APP_DIR) {
|
||||
|
Loading…
Reference in New Issue
Block a user