Nuxt/index.js

23 lines
560 B
JavaScript
Raw Normal View History

2017-05-30 13:14:10 +00:00
/*!
* Nuxt.js
* (c) 2016-2017 Chopin Brothers
2017-06-18 13:48:25 +00:00
* Core maintainer: Pooya (@pi0)
2017-05-30 13:14:10 +00:00
* Released under the MIT License.
*/
2017-01-11 21:18:23 +00:00
2017-06-16 12:42:45 +00:00
// Node Source Map Support
// https://github.com/evanw/node-source-map-support
require('source-map-support').install();
2017-06-18 13:48:25 +00:00
// Fix babel flag
process.noDeprecation = true
2017-06-18 07:36:00 +00:00
// Require Core
2017-06-16 12:42:45 +00:00
const Core = require('./dist/core.js')
Object.assign(exports, Core.default || Core)
2017-06-18 07:36:00 +00:00
// Require Builder
2017-06-18 15:48:47 +00:00
// TODO: conditionally do this when builder available
const Builder = require('./dist/builder.js')
Object.assign(exports, Builder.default || Builder)