diff --git a/rollup.config.js b/rollup.config.js index e3d438f..0ef0a98 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,6 @@ -import commonjs from 'rollup-plugin-commonjs'; +import commonjs from '@rollup/plugin-commonjs'; import postcss from 'rollup-plugin-postcss'; -import resolve from 'rollup-plugin-node-resolve'; +import { nodeResolve } from '@rollup/plugin-node-resolve'; import replace from '@rollup/plugin-replace'; import typescript from '@rollup/plugin-typescript'; import { terser } from 'rollup-plugin-terser'; @@ -27,7 +27,7 @@ export default { extensions: ['.css'] }), typescript(), - resolve(), + nodeResolve(), commonjs(), production && terser() ]