Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make sure dependencies are external #843

Merged
merged 1 commit into from Jun 22, 2023
Merged

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 21, 2023

Rollup does check strings for full match, so transforming our dependencies list to RegExp will work even with imports like import 'core-js/foo/bar.

Before: 1'824 kB (yes 1.8 MiB)
After: 237 kB

rollup.config.js Outdated Show resolved Hide resolved
Rollup does check strings for full match, so transforming our dependencies list to RegExp will work even with
imports like `import 'core-js/foo/bar`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/external-dependencies branch from 2fe5453 to 1d78f88 Compare June 21, 2023 13:20
@susnux susnux merged commit bc1242f into master Jun 22, 2023
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/external-dependencies branch June 22, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants