Skip to content

Commit

Permalink
Merge branch 'main' into LG-3523-table-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
spark33 authored Aug 31, 2023
2 parents ff85fb7 + 74071b6 commit 6fd0e1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-jokes-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lg-tools/build': minor
---

Adds the regex `^@lg-[a-z]+\/` to rollup's `external` property. This tells rollup to treat any `@lg-*` scoped package as external, and to not bundle it into the package.
2 changes: 1 addition & 1 deletion tools/build/config/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const external = [
'typescript',
/^@emotion\//,
/^@leafygreen-ui\//,
/^@lg-tools\//,
/^@lg-[a-z]+\//,
/^@storybook\//,
/^highlight/,
/^lodash\//,
Expand Down

0 comments on commit 6fd0e1e

Please sign in to comment.