fix editor not working properly

This commit is contained in:
KMKoushik
2025-05-15 21:40:31 +10:00
parent 3dcd8a1bcc
commit bb8d3a4686
3 changed files with 3 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ const config = {
experimental: { experimental: {
instrumentationHook: true, instrumentationHook: true,
serverComponentsExternalPackages: ["bullmq"], serverComponentsExternalPackages: ["bullmq"],
esmExternals: "loose",
}, },
images: { images: {
remotePatterns: [ remotePatterns: [

View File

@@ -4,7 +4,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "next dev -p 3000 --turbopack", "dev": "next dev -p 3000",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "eslint . --max-warnings 0", "lint": "eslint . --max-warnings 0",

View File

@@ -7,5 +7,6 @@ export default {
content: [ content: [
"./src/**/*.tsx", "./src/**/*.tsx",
`${path.join(require.resolve("@unsend/ui"), "..")}/**/*.{ts,tsx}`, `${path.join(require.resolve("@unsend/ui"), "..")}/**/*.{ts,tsx}`,
`${path.join(require.resolve("@unsend/email-editor"), "..")}/**/*.{ts,tsx}`,
], ],
} satisfies Config; } satisfies Config;