temp move
@@ -7,12 +7,19 @@ await import('./src/env.mjs');
|
|||||||
/** @type {import("next").NextConfig} */
|
/** @type {import("next").NextConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
transpilePackages: ['@openpanel/queue'],
|
transpilePackages: [
|
||||||
|
'@openpanel/queue',
|
||||||
|
'@openpanel/db',
|
||||||
|
'@openpanel/common',
|
||||||
|
'@openpanel/constants',
|
||||||
|
'@openpanel/redis',
|
||||||
|
'@openpanel/validation',
|
||||||
|
],
|
||||||
eslint: { ignoreDuringBuilds: true },
|
eslint: { ignoreDuringBuilds: true },
|
||||||
typescript: { ignoreBuildErrors: true },
|
typescript: { ignoreBuildErrors: true },
|
||||||
experimental: {
|
experimental: {
|
||||||
// Avoid "Critical dependency: the request of a dependency is an expression"
|
// Avoid "Critical dependency: the request of a dependency is an expression"
|
||||||
serverComponentsExternalPackages: ['bullmq'],
|
serverComponentsExternalPackages: ['bullmq', 'ioredis'],
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* If you are using `appDir` then you must comment the below `i18n` config out.
|
* If you are using `appDir` then you must comment the below `i18n` config out.
|
||||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |