update: remove babel (no jsx used anymore)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user