Skip to content

Commit 7becac8

Browse files
committed
fix: Package bug & Nuxt was not correct behavior due to imported functions/node_modules.
Package bug: vuejs/vue-cli#3407
1 parent 7246cfd commit 7becac8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"scripts": {
88
"dev": "nuxt",
9-
"build": "nuxt build",
9+
"build": "nuxt build && cp -R .nuxt ../functions/nuxt",
1010
"start": "nuxt start",
1111
"generate": "nuxt generate"
1212
},
@@ -23,5 +23,8 @@
2323
"node-sass": "^4.11.0",
2424
"nodemon": "^1.18.9",
2525
"sass-loader": "^7.1.0"
26+
},
27+
"resolutions": {
28+
"terser": "3.14.1"
2629
}
2730
}

0 commit comments

Comments
 (0)