Commit Graph

4 Commits

Author SHA1 Message Date
Bryan Housel
5040be45e9 Sync up RapiD and iD esbuild config (#8776)
* Sync up RapiD and iD esbuild config scripts

* Remove uglify too

* Remove babel/preset-react

* Just have `npm run start` start a modern build, remove `quickstart`

* Better setup for modern/legacy build
- much simpler babel config
- separate entry points for modern and legacy (ie11/phantom)
- explicitly import 'core-js' and 'regenerator-runtime' instead of using deprecated 'babel/polyfill' plugin
- still need 'core-js-bundle' for the test/index.html, so Mocha/PhantomJS combo will work.

* Revert "Better setup for modern/legacy build"

This reverts commit 4ce17defa8a3c6f4b3a9168bcd672235bfc651be.

Co-authored-by: Milos Brzakovic (E-Search) <mbrzakovic@microsoft.com>
2022-01-17 14:18:27 +01:00
Quincy Morgan
e15aeda221 Switch to core-js for polyfills 2020-10-13 16:02:26 -04:00
Quincy Morgan
90a2b50934 List some defaults explicitly 2020-10-08 14:56:25 -04:00
Quincy Morgan
55fa1a6dff Switch from buble to babel for ES5 transpilation (close #8065) 2020-10-08 10:25:58 -04:00