Browse Source

chore: bump nuxt version

pull/7651/head
mertmit 10 months ago
parent
commit
36477dc79e
  1. 1
      packages/nc-gui/assets/js/typesense-docsearch.js
  2. 3
      packages/nc-gui/components/cmd-j/index.vue
  3. 11
      packages/nc-gui/nuxt.config.ts

1
packages/nc-gui/public/js/typesense-docsearch.js → packages/nc-gui/assets/js/typesense-docsearch.js

File diff suppressed because one or more lines are too long

3
packages/nc-gui/components/cmd-j/index.vue

@ -1,4 +1,7 @@
<script setup lang="ts">
import '~/assets/js/typesense-docsearch'
declare const docsearch: any;
const modalEl = ref<HTMLElement | null>(null)
const { user } = useGlobal()

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

@ -101,11 +101,6 @@ export default defineNuxtConfig({
content: './link-preview.webp',
},
],
script: [
{
src: './js/typesense-docsearch.js',
},
],
},
},
@ -192,7 +187,7 @@ export default defineNuxtConfig({
],
define: {
'process.env.DEBUG': 'false',
'process.nextTick': () => {},
'process.nextTick': 'globalThis.setImmediate',
'process.env.ANT_MESSAGE_DURATION': process.env.ANT_MESSAGE_DURATION,
},
server: {
@ -218,10 +213,6 @@ export default defineNuxtConfig({
},
},
experimental: {
reactivityTransform: true,
},
image: {
dir: 'assets/',
},

Loading…
Cancel
Save