feat: add i18n dependency to website workspace

This commit is contained in:
JiPai
2024-09-05 19:59:05 +08:00
parent d88633f2c6
commit 9c36f30bb0
6 changed files with 120 additions and 8 deletions

View File

@@ -1,11 +1,15 @@
const createNextIntlPlugin = require('next-intl/plugin')
const withNextIntl = createNextIntlPlugin()
/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
};
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
}
module.exports = nextConfig;
module.exports = withNextIntl(nextConfig)