diff --git a/.babelrc b/.babelrc deleted file mode 100644 index acb17604..00000000 --- a/.babelrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "plugins": [ - "@vue/babel-plugin-jsx" - ] -} diff --git a/rollup.ts b/rollup.ts index 227efec6..61b391e2 100644 --- a/rollup.ts +++ b/rollup.ts @@ -3,13 +3,11 @@ import { terser } from 'rollup-plugin-terser' import dts from 'rollup-plugin-dts' import commonjs from '@rollup/plugin-commonjs' import resolve from '@rollup/plugin-node-resolve' -import { babel } from '@rollup/plugin-babel' import replace from '@rollup/plugin-replace' // @ts-ignore import svg from 'rollup-plugin-svg' import postcss from 'rollup-plugin-postcss' // @ts-ignore -import { DEFAULT_EXTENSIONS as DEFAULT_BABEL_EXTENSIONS } from '@babel/core' import pkg from './package.json' @@ -90,11 +88,6 @@ for (const { external, iife } of activePackages) { minimize: true, }), commonjs({ include: 'node_modules/**' }), - babel({ - extensions: [...DEFAULT_BABEL_EXTENSIONS, '.ts'], - exclude: 'node_modules/**', - babelHelpers: 'bundled', - }), replace({ __REACT_FLOW_VERSION__: JSON.stringify(pkg.version), preventAssignment: true,