-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Remove support for some older browsers that probably didn’t work anyway #1080
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/excalidraw-team/excalidraw/qkn1r3goi |
When merging this, we should check the built JS files to make sure the settings have been taken up, and if not, we need to push a commit that does |
Can you run some tests on how much less in bundle size? |
The
That’s not a lot, but I guess we don’t use |
Let's maybe add the TS target |
What about now.. does it change anything? |
It won't change anything (build-wise). It's just a flag for the TS type checker because CRA doesn't use it for code emit. But it'll make TS server not prevent us from using certain ES6 idioms. |
.flat()
, which we use..flat()
..flat()
.flat()
.Note: to get the build script to take the new values, you have to
rm -rf node_modules/.cache
.It also adds a smaller set of supported browsers for dev mode. I’m happy to revert this if someone on the team is deving on an older browser.