fix(intl): polyfill intl-listformat
This commit is contained in:
parent
1ba82d6231
commit
f7c5f8fb14
4 changed files with 5 additions and 0 deletions
|
@ -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';
|
||||
|
||||
|
|
3
app/javascript/shared/intl-listformat.ts
Normal file
3
app/javascript/shared/intl-listformat.ts
Normal 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
BIN
bun.lockb
Binary file not shown.
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue