mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
[internal] use es6 exports
prevent rollup warning
This commit is contained in:
parent
8af4597117
commit
f23a6d34a4
@ -1,11 +1,6 @@
|
|||||||
import Builder from './builder'
|
import Builder from './builder'
|
||||||
import Generator from './generator'
|
import Generator from './generator'
|
||||||
|
|
||||||
export default {
|
|
||||||
Builder,
|
|
||||||
Generator
|
|
||||||
}
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
Builder,
|
Builder,
|
||||||
Generator
|
Generator
|
||||||
|
@ -3,14 +3,6 @@ import Module from './module'
|
|||||||
import Nuxt from './nuxt'
|
import Nuxt from './nuxt'
|
||||||
import Renderer from './renderer'
|
import Renderer from './renderer'
|
||||||
|
|
||||||
export default {
|
|
||||||
Nuxt,
|
|
||||||
Module,
|
|
||||||
Renderer,
|
|
||||||
Options,
|
|
||||||
Utils
|
|
||||||
}
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
Nuxt,
|
Nuxt,
|
||||||
Module,
|
Module,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import core from './core'
|
import * as core from './core'
|
||||||
import builder from './builder'
|
import * as builder from './builder'
|
||||||
|
|
||||||
export default Object.assign({}, core, builder)
|
export default Object.assign({}, core, builder)
|
||||||
|
Loading…
Reference in New Issue
Block a user