File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { nodeResolve } from '@rollup/plugin-node-resolve';
44import typescript from '@rollup/plugin-typescript' ;
55import svgr from '@svgr/rollup' ;
66import postcssImport from 'postcss-import' ;
7- import { nodeExternals } from 'rollup-plugin-node-externals' ;
7+ import nodeExternals from 'rollup-plugin-node-externals' ;
88import postcss from 'rollup-plugin-postcss' ;
99import preserveDirectives from 'rollup-plugin-preserve-directives' ;
1010import tsconfigPaths from 'rollup-plugin-tsconfig-paths' ;
@@ -17,7 +17,8 @@ const createPlugins = ({ rootDir, declarationDir }) => [
1717 devDeps : false ,
1818 peerDeps : true ,
1919 optDeps : true ,
20- // Include React subpaths and regex patterns that need to be externalized
20+ // Note: Include deps with subpaths that need to be externalized in include array.
21+ // https://github.com/Septh/rollup-plugin-node-externals?tab=readme-ov-file#1-this-plugin-is-smart
2122 include : [
2223 'react/jsx-runtime' ,
2324 'react-dom/client' ,
You can’t perform that action at this time.
0 commit comments