update
This commit is contained in:
@@ -1,2 +1,9 @@
|
|||||||
[install]
|
[install]
|
||||||
registry = "https://registry.npmmirror.com/"
|
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: {
|
vite: {
|
||||||
plugins: [tailwindcss()],
|
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: {
|
app: {
|
||||||
@@ -88,8 +101,10 @@ export default defineNuxtConfig({
|
|||||||
nitro: {
|
nitro: {
|
||||||
prerender: {
|
prerender: {
|
||||||
crawlLinks: true,
|
crawlLinks: true,
|
||||||
routes: ["/", "/rss.xml"],
|
routes: ["/", "/rss.xml", "/sitemap.xml"],
|
||||||
|
ignore: ["/404"],
|
||||||
},
|
},
|
||||||
|
minify: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
// fonts: {},
|
// fonts: {},
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nuxt build",
|
"build": "NODE_OPTIONS=--max-old-space-size=4096 nuxt build",
|
||||||
"dev": "nuxt dev",
|
"dev": "nuxt dev",
|
||||||
"generate": "nuxt generate",
|
"generate": "NODE_OPTIONS=--max-old-space-size=4096 nuxt generate",
|
||||||
"preview": "nuxt preview",
|
"preview": "nuxt preview",
|
||||||
"postinstall": "nuxt prepare",
|
"postinstall": "nuxt prepare",
|
||||||
"lint": "eslint .",
|
"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