Merge pull request #10621 from tchak/polyfill-intl-listformat

fix(intl): polyfill intl-listformat
This commit is contained in:
Paul Chavard 2024-07-18 13:36:50 +00:00 committed by GitHub
commit b66d83ab08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import '@gouvfr/dsfr/dist/dsfr.module.js';
import '../shared/activestorage/ujs'; import '../shared/activestorage/ujs';
import '../shared/safari-11-empty-file-workaround'; import '../shared/safari-11-empty-file-workaround';
import '../shared/toggle-target'; import '../shared/toggle-target';
import '../shared/intl-listformat';
import { registerControllers } from '../shared/stimulus-loader'; import { registerControllers } from '../shared/stimulus-loader';

View file

@ -0,0 +1,3 @@
import '@formatjs/intl-listformat/polyfill';
import '@formatjs/intl-listformat/locale-data/en';
import '@formatjs/intl-listformat/locale-data/fr';

BIN
bun.lockb

Binary file not shown.

View file

@ -5,6 +5,7 @@
"@coldwired/react": "^0.15.1", "@coldwired/react": "^0.15.1",
"@coldwired/turbo-stream": "^0.15.1", "@coldwired/turbo-stream": "^0.15.1",
"@coldwired/utils": "^0.13.0", "@coldwired/utils": "^0.13.0",
"@formatjs/intl-listformat": "^7.5.7",
"@frsource/autoresize-textarea": "^2.0.82", "@frsource/autoresize-textarea": "^2.0.82",
"@gouvfr/dsfr": "^1.11.2", "@gouvfr/dsfr": "^1.11.2",
"@graphiql/plugin-explorer": "^3.1.0", "@graphiql/plugin-explorer": "^3.1.0",