Browse Source

chore(gui): build error with dagre package

ref: https://stackoverflow.com/a/72198834
Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3728/head
Pranav C 2 years ago
parent
commit
4ecff793e4
  1. 8
      packages/nc-gui/nuxt.config.ts

8
packages/nc-gui/nuxt.config.ts

@ -51,9 +51,10 @@ export default defineNuxtConfig({
}, },
vite: { vite: {
// todo: minifiy again
build: { build: {
minify: false, commonjsOptions: {
ignoreTryCatch: false,
},
}, },
plugins: [ plugins: [
vueI18n({ vueI18n({
@ -82,7 +83,8 @@ export default defineNuxtConfig({
], ],
define: { define: {
'process.env.DEBUG': 'false', 'process.env.DEBUG': 'false',
'process.nextTick': () => {}, 'process.nextTick': () => {
},
}, },
server: { server: {
watch: { watch: {

Loading…
Cancel
Save