mirror of
https://github.com/andwati/personal-website.git
synced 2026-10-18 02:32:54 +00:00
perf: Increase Node.js memory limit for build and disable sourcemap generation.
This commit is contained in:
@@ -4,4 +4,8 @@ export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
css: ["~/assets/css/main.css"],
|
||||
compatibilityDate: "2024-04-03",
|
||||
sourcemap: {
|
||||
server: false,
|
||||
client: false,
|
||||
},
|
||||
});
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"build": "NODE_OPTIONS='--max-old-space-size=2560' nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview"
|
||||
|
||||
Reference in New Issue
Block a user