fix(intl): polyfill intl-listformat

This commit is contained in:
Paul Chavard 2024-07-18 09:33:07 +02:00
parent 1ba82d6231
commit f7c5f8fb14
No known key found for this signature in database
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/safari-11-empty-file-workaround';
import '../shared/toggle-target';
import '../shared/intl-listformat';
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/turbo-stream": "^0.15.1",
"@coldwired/utils": "^0.13.0",
"@formatjs/intl-listformat": "^7.5.7",
"@frsource/autoresize-textarea": "^2.0.82",
"@gouvfr/dsfr": "^1.11.2",
"@graphiql/plugin-explorer": "^3.1.0",