replace buble with babel

This commit is contained in:
Philipp Kühn
2018-11-11 23:07:24 +01:00
parent fe8a21ce7c
commit 3482d1c7b2
3 changed files with 12 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
import path from 'path'
import vue from 'rollup-plugin-vue'
import buble from 'rollup-plugin-buble'
import babel from 'rollup-plugin-babel'
import flow from 'rollup-plugin-flow-no-whitespace'
import cjs from 'rollup-plugin-commonjs'
import node from 'rollup-plugin-node-resolve'
@@ -33,8 +33,8 @@ function genConfig(opts) {
replace({
__VERSION__: version,
}),
buble({
objectAssign: 'Object.assign',
babel({
exclude: 'node_modules/**',
}),
],
external(id) { return !/^[\.\/]/.test(id) },