diff --git a/next.json.mjs b/next.json.mjs index 3c49c9f4dd3f..2cd98d02c16f 100644 --- a/next.json.mjs +++ b/next.json.mjs @@ -1,9 +1,9 @@ 'use strict'; -import _authors from './authors.json' with { type: 'json' }; -import _siteNavigation from './navigation.json' with { type: 'json' }; -import _siteRedirects from './redirects.json' with { type: 'json' }; -import _siteConfig from './site.json' with { type: 'json' }; +import _authors from './authors.json' assert { type: 'json' }; +import _siteNavigation from './navigation.json' assert { type: 'json' }; +import _siteRedirects from './redirects.json' assert { type: 'json' }; +import _siteConfig from './site.json' assert { type: 'json' }; /** @type {Record} */ export const authors = _authors; diff --git a/next.locales.mjs b/next.locales.mjs index 2d5d11a049d6..4805361a7424 100644 --- a/next.locales.mjs +++ b/next.locales.mjs @@ -1,6 +1,6 @@ 'use strict'; -import localeConfig from './i18n/config.json' with { type: 'json' }; +import localeConfig from './i18n/config.json' assert { type: 'json' }; // As set of available and enabled locales for the website // This is used for allowing us to redirect the user to any