don't need import assertion for json

This commit is contained in:
Emily Soth 2023-02-13 16:20:45 -08:00
parent 76f8b767e4
commit 7d403b8c3a
2 changed files with 2 additions and 3 deletions

View File

@ -5,6 +5,5 @@ module.exports = {
],
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-syntax-import-assertions',
],
};

View File

@ -1,7 +1,7 @@
import i18n from "i18next";
import es_messages from './es.json' assert { type: "json" };
import * as zh_messages from './zh.json';
import es_messages from './es.json';
import zh_messages from './zh.json';
i18n
.init({