Skip to content

Commit 7aae40a

Browse files
committed
fix: empty file in windows server build
1 parent e23e4d3 commit 7aae40a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nuxt.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = {
44
srcDir: 'client/',
55
buildDir: 'dist/client/',
66
rootDir: './',
7-
dev: (process.env.NODE_ENV !== 'production'),
87
/*
98
** Router config
109
*/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lint:fix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
1818
"build": "yarn build:client && yarn build:server",
1919
"build:client": "nuxt build",
20-
"build:server": "rimraf dist/server && cpx '{nuxt.config.js,server/**}' dist",
20+
"build:server": "rimraf dist/server && cpx \"{nuxt.config.js,server/**}\" dist",
2121
"start": "cross-env NODE_ENV=production node dist/server/app.js",
2222
"start:pm2": "pm2 start yarn --name=hare -- start",
2323
"analyze": "nuxt build --analyze",

0 commit comments

Comments
 (0)