fix editor not working properly
This commit is contained in:
@@ -10,6 +10,7 @@ const config = {
|
|||||||
experimental: {
|
experimental: {
|
||||||
instrumentationHook: true,
|
instrumentationHook: true,
|
||||||
serverComponentsExternalPackages: ["bullmq"],
|
serverComponentsExternalPackages: ["bullmq"],
|
||||||
|
esmExternals: "loose",
|
||||||
},
|
},
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
|
@@ -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",
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user