update
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
[install]
|
||||
registry = "https://registry.npmmirror.com/"
|
||||
[build]
|
||||
minify = true
|
||||
root = "."
|
||||
entrypoints = ["./app/app.vue"]
|
||||
|
||||
[env]
|
||||
NODE_OPTIONS = "--max-old-space-size=4096"
|
||||
|
||||
@@ -39,6 +39,19 @@ export default defineNuxtConfig({
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
build: {
|
||||
sourcemap: false,
|
||||
chunkSizeWarningLimit: 1000,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
vendor: ["vue", "vue-router", "@nuxt/content"],
|
||||
ui: ["@nuxt/ui", "@nuxt/icon"],
|
||||
utils: ["fuse.js"],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
app: {
|
||||
@@ -88,8 +101,10 @@ export default defineNuxtConfig({
|
||||
nitro: {
|
||||
prerender: {
|
||||
crawlLinks: true,
|
||||
routes: ["/", "/rss.xml"],
|
||||
routes: ["/", "/rss.xml", "/sitemap.xml"],
|
||||
ignore: ["/404"],
|
||||
},
|
||||
minify: true,
|
||||
},
|
||||
|
||||
// fonts: {},
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"build": "NODE_OPTIONS=--max-old-space-size=4096 nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"generate": "NODE_OPTIONS=--max-old-space-size=4096 nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare",
|
||||
"lint": "eslint .",
|
||||
|
||||
14719
pnpm-lock.yaml
generated
14719
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user