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

build: add option to disable core-js polyfill #562

Merged
merged 1 commit into from Sep 20, 2022
Merged

Conversation

ManiaciaChao
Copy link
Contributor

Pass env no-core-js to replace core-js with a dummy module, decreasing the bundle size by 40k+.

This PR should be pretty useful to those developers who work with modern browsers and care about the bundle size.

Pass env `no-core-js` to replace `core-js` with a dummy module, decreasing the bundle size by 40k+.
@ManiaciaChao ManiaciaChao changed the base branch from dev to dependabot/npm_and_yarn/svelte-3.49.0 August 27, 2022 12:44
@ManiaciaChao ManiaciaChao changed the base branch from dependabot/npm_and_yarn/svelte-3.49.0 to dev August 27, 2022 12:44
@Maizify Maizify merged commit 751b1bd into Tencent:dev Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants