Commit Graph

6 Commits

Author SHA1 Message Date
Jack Westbrook
2281abaf37
Revert: Babel removal and runtime update (#63641)
* Revert "Update babel monorepo to v7.21.0 (#63532)"

This reverts commit 3d974fc716.

* Revert "Chore: Remove babel deps and config (#62461)"

This reverts commit 21a988a659.
2023-02-23 09:22:35 -05:00
Jack Westbrook
21a988a659
Chore: Remove babel deps and config (#62461)
* chore: remove unused frontend build deps babel and ts-loader

* chore(babel): delete redundant config file and remove ref in pr-commands

* chore: clean up references to babel.config.js
2023-02-23 11:59:05 +01:00
Ashley Harrison
0f8cb16193
Chore: Reorder babel plugins into correct order (#45691) 2022-02-21 17:07:42 +00:00
Ashley Harrison
05f68c391c
Add babel plugin to workaround bug in @babel/preset-env (#45664) 2022-02-21 12:50:53 +00:00
Josh Hunt
4f6d08f14b
I18N: Add Lingui core translation framework. (#41827)
* I18N: Add Core Lingui framework for translating the UI

* Make FieldSet accept ReactNode for the label, so it can be translated

* Translate a phrase in the User profile edit form

* Translate phrase

* run lingui compile before webpack builds

* init i18n more lazily

* i1n:compile in drone lint step

* wip for getting tests to work

* Use mock lingui/macros because its too hard to use the real macros in Jest...

* mock messages for tests

* use specific lingui version

* add comment for test helper

* we actually don't need the i18n setup in tests because we mock out <Trans />

* update package.json

* remove unneded imports

* revert back babel core version

* Create a I18nProvider wrapper
2021-12-15 17:00:37 +01:00
Josh Hunt
3b497f3e8d
Chore: Move babel config to a root babel.config.json (#41615)
* Chore: Move babel config to a root babel.config.json

* Re-add babel cache settings to webpack

* Re-add production browserlist in babel config

* re-add babel hot refresh config

* fix storybook
2021-11-18 16:38:58 +00:00