diff --git a/bin/cli.js b/bin/cli.js index 566d5671..bcc99959 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -12,6 +12,6 @@ const { copyDir } = require('./copy'); const shouldSkip = name => name === 'node_modules' || name === 'bin'; -copyDir(join(__dirname, '../'), process.env.PWD, shouldSkip); +copyDir(join(__dirname, '../'), process.cwd(), shouldSkip); console.log('Webpack MPA Next is now setup! Run "npm i" or "yarn" to continue'); diff --git a/package.json b/package.json index fe3716a0..cbff0a3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-mpa-next", - "version": "3.7.0", + "version": "3.7.1", "description": "Multi page app setup with webpack", "scripts": { "build": "webpack --mode=production",