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

feat: set package build target to es2017 #4341

Merged
merged 3 commits into from
Dec 7, 2021
Merged

Conversation

dwelle
Copy link
Member

@dwelle dwelle commented Nov 30, 2021

  • remove dist/ before build because it seems webpack simply merges the build output, not removing the old chunks/assets generated from previous builds

  • move to es2017 build target. We don't support browsers that don't support it anyway. Solves a recent regression where transpiling async/wait to regenerators was causing typeError issues. Haven't dug super deep to figure out what was the exact cause, but it just seems a compiler issue.

  • add to changelog?

@dwelle dwelle requested a review from ad1992 November 30, 2021 14:03
@vercel
Copy link

vercel bot commented Nov 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/excalidraw/excalidraw/7SS37ta7Pf62SEEf1EqhF5pebs8R
✅ Preview: https://excalidraw-git-packagewebpacktweaks-excalidraw.vercel.app

@ad1992
Copy link
Member

ad1992 commented Dec 7, 2021

@dwelle lets add this under "Build" in changelog

@dwelle dwelle merged commit dfbfbc3 into master Dec 7, 2021
@dwelle dwelle deleted the package_webpack_tweaks branch December 7, 2021 15:38
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