Browse Source

Merge pull request #3728 from nocodb/fix/build-issue

chore(gui): Build error
pull/3752/head
Pranav C 2 years ago committed by GitHub
parent
commit
0bd8d8b0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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