diff --git a/.changeset/nasty-singers-chew.md b/.changeset/nasty-singers-chew.md new file mode 100644 index 00000000..87e72bbf --- /dev/null +++ b/.changeset/nasty-singers-chew.md @@ -0,0 +1,5 @@ +--- +'@qualifyze/design-system': patch +--- + +Exclude node_modules from transitive dependencies in bundle. diff --git a/rollup.config.js b/rollup.config.js index eb873ade..df197d25 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -14,7 +14,7 @@ export default defineConfig({ }, plugins: [ resolve({ preferBuiltins: true, extensions: ['.js', '.jsx'] }), - babel({ babelHelpers: 'bundled' }), + babel({ babelHelpers: 'bundled', exclude: /node_modules/ }), commonjs(), styles(), ],