You've already forked obsidian-visualiser
Fix Campaign log DB and rendering. Migrate mail rendering to virtual DOM API.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
import vuePlugin from 'rollup-plugin-vue'
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
@@ -136,10 +135,7 @@ export default defineNuxtConfig({
|
||||
usePolling: true,
|
||||
},
|
||||
rollupConfig: {
|
||||
external: ['bun'],
|
||||
plugins: [
|
||||
vuePlugin({ include: /\.vue$/, target: 'node' })
|
||||
]
|
||||
external: ['bun']
|
||||
},
|
||||
},
|
||||
runtimeConfig: {
|
||||
@@ -168,7 +164,7 @@ export default defineNuxtConfig({
|
||||
xssValidator: false,
|
||||
},
|
||||
sitemap: {
|
||||
exclude: ['/admin/**', '/explore/edit', '/user/mailvalidated', '/user/changing-password', '/user/reset-password'],
|
||||
exclude: ['/admin/**', '/explore/edit', '/user/mailvalidated', '/user/changing-password', '/user/reset-password', '/character/manage', '/campaign/create'],
|
||||
sources: ['/api/__sitemap__/urls']
|
||||
},
|
||||
experimental: {
|
||||
@@ -190,6 +186,13 @@ export default defineNuxtConfig({
|
||||
cert: fs.readFileSync(path.resolve(__dirname, 'localhost+1.pem')).toString('utf-8'),
|
||||
}
|
||||
},
|
||||
vite: {
|
||||
server: {
|
||||
hmr: {
|
||||
clientPort: 3000,
|
||||
}
|
||||
}
|
||||
},
|
||||
vue: {
|
||||
compilerOptions: {
|
||||
isCustomElement: (tag) => tag === 'iconify-icon',
|
||||
|
||||
Reference in New Issue
Block a user