Skip to content

Commit

Permalink
Merge pull request #336 from Qualifyze/rollup-exclude-node-modules
Browse files Browse the repository at this point in the history
Exclude node_modules from transitive dependencies in bundle.
  • Loading branch information
Philipp Jardas authored Sep 9, 2022
2 parents 0bf0b5c + a9b2cdc commit c340c4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nasty-singers-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@qualifyze/design-system': patch
---

Exclude node_modules from transitive dependencies in bundle.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
],
Expand Down

1 comment on commit c340c4c

@vercel
Copy link

@vercel vercel bot commented on c340c4c Sep 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.