This commit is contained in:
+3
-1
@@ -361,7 +361,9 @@ export default defineConfig(() => ({
|
|||||||
build: {
|
build: {
|
||||||
target: 'es2022',
|
target: 'es2022',
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
sourcemap: true,
|
// Maps are excluded from packaged builds anyway (electron-builder `!**/*.map`),
|
||||||
|
// so skip generating them in CI to save build time.
|
||||||
|
sourcemap: !process.env.CI,
|
||||||
copyPublicDir: false,
|
copyPublicDir: false,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: {
|
input: {
|
||||||
|
|||||||
Reference in New Issue
Block a user