Skip to content

Commit

Permalink
fix: empty file in windows server build
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Apr 12, 2019
1 parent e23e4d3 commit 7aae40a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = {
srcDir: 'client/',
buildDir: 'dist/client/',
rootDir: './',
dev: (process.env.NODE_ENV !== 'production'),
/*
** Router config
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"lint:fix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
"build": "yarn build:client && yarn build:server",
"build:client": "nuxt build",
"build:server": "rimraf dist/server && cpx '{nuxt.config.js,server/**}' dist",
"build:server": "rimraf dist/server && cpx \"{nuxt.config.js,server/**}\" dist",
"start": "cross-env NODE_ENV=production node dist/server/app.js",
"start:pm2": "pm2 start yarn --name=hare -- start",
"analyze": "nuxt build --analyze",
Expand Down

0 comments on commit 7aae40a

Please sign in to comment.