Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Tim Pillard d7146b512c
Babel improvements: reloaded (#11593)
* Update browserslist's caniuse-lite

$ npx browserslist@latest --update-db
- should be ran regularly
or:
- caniuse-lite added to devDependencies for renovate to pick up.

* Optimize babel configuration for bundle size & runtime performance

* Remove probably unused/unnecessary raf polyfill

* Use babel.config.js file over .babelrc to allow comments

* Cleanup dependencies

- Remove unused/deprecated babel-core dependency

- Remove unnecessary babel-jest dependency, use version provided by jest

- Remove object.values unnecessary dependency

- Move url-loader to devDependencies where it belongs

- Remove typescript dependency

* Upgrade babel dependencies & migrate to assumptions

* Use caret ranges for devDependencies, including Babel related ones

* Fix tests

* Fix lint errors

- misc lint errors
- bin/regenerate_font.js must be wrapped in a function as newest babel
  eslint parser fails to parse a return; statement outside of a function...
- add latest eslint-plugin-react devDependency, as without it, with newest
  babel eslint parser, the plugin fails to see propTypes static class properties.
2022-06-16 19:04:53 +02:00
Mathieu Pillard 5b2cb68064
Revert "Babel improvements (#11587)" (#11589)
This reverts commit dd0cb0f4fa.
2022-06-15 15:09:02 +02:00
Tim Pillard dd0cb0f4fa
Babel improvements (#11587)
* Update browserslist's caniuse-lite

$ npx browserslist@latest --update-db
- should be ran regularly
or:
- caniuse-lite added to devDependencies for renovate to pick up.

* Optimize babel configuration for bundle size & runtime performance

* Remove probably unused/unnecessary raf polyfill

* Use babel.config.js file over .babelrc to allow comments

* Cleanup dependencies

- Remove unused/deprecated babel-core dependency

- Remove unnecessary babel-jest dependency, use version provided by jest

- Remove object.values unnecessary dependency

- Move url-loader to devDependencies where it belongs

- Remove typescript dependency

* Upgrade babel dependencies & migrate to assumptions
2022-06-15 12:04:31 +02:00