Skip to content

Commit

Permalink
Fix issue with path being undefined on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex committed Mar 10, 2021
1 parent 56771c4 commit 8d02baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 8d02baa

Please sign in to comment.