silverwolf-x's picture
download
raw
456 Bytes
// @ts-check
/**
* @type {import('next').NextConfig}
**/
module.exports = {
i18n: {
locales: ["en", "fr", "de"],
defaultLocale: "en",
},
webpack(config, { dev, ...other }) {
if (!dev) {
// https://formatjs.io/docs/guides/advanced-usage#react-intl-without-parser-40-smaller
config.resolve.alias["@formatjs/icu-messageformat-parser"] =
"@formatjs/icu-messageformat-parser/no-parser";
}
return config;
},
};

Xet Storage Details

Size:
456 Bytes
·
Xet hash:
a7f3d29ec6b3c855f08118441c7db205c92083931fb01a8c7527a914f6989545

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.