diff --git a/rollup.config.js b/rollup.config.js index e332c8b..9c8839a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -24,6 +24,7 @@ export default [ }, ], plugins: [resolve(), commonjs(), postcss(), typescript({ tsconfig: './tsconfig.json' })], + external: ['react', 'react-dom', /\.(css|less|scss)$/], }, { input: 'dist/esm/types/src/index.d.ts',