2
0

🔧 Avoid rollup bundle crash when dev mode

Closes #1736
This commit is contained in:
Baptiste Arnaud
2024-08-22 17:39:10 +02:00
parent 6a7877dc9b
commit b0d86bf382
6 changed files with 12 additions and 9 deletions

View File

@@ -36,7 +36,9 @@ const indexConfig = {
extensions,
}),
typescriptPaths({ preserveExtensions: true }),
typescript(),
typescript({
noEmitOnError: !process.env.ROLLUP_WATCH,
}),
postcss({
plugins: [autoprefixer(), tailwindcss()],
extract: false,

View File

@@ -15,7 +15,6 @@
"declarationMap": true,
"outDir": "dist",
"noEmit": false,
"emitDeclarationOnly": true,
"noEmitOnError": true
"emitDeclarationOnly": true
}
}