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

Ensure we target ES5 when building in webpack, add browserslist #329

Merged
merged 2 commits into from
Dec 14, 2020

Conversation

MatthewHerbst
Copy link
Owner

Fixes #328

We recently upgraded from Webpack 4 -> 5. Webpack 5 introduced additional controls over code generation, specifically adding options in output.environment. Since we target ES5 with our builds, and intentionally attempt to supper IE 11, we want all of the options turned off.

This PR also adds a .browserslistrc file to ensure Webpack targets the browsers we care about. This was an additional change in the Webpack 4 -> 5 upgrade.

@MatthewHerbst MatthewHerbst merged commit 3cb235e into master Dec 14, 2020
@MatthewHerbst MatthewHerbst deleted the fix-arrow-functions-in-build branch December 14, 2020 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails in 2.12
1 participant