Skip to content

Commit

Permalink
Fixed building packages on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Miklet authored and ryanflorence committed Jan 4, 2019
1 parent badc98c commit 5dbce18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/build-package.js
Expand Up @@ -5,7 +5,7 @@ const prettyBytes = require("pretty-bytes");
const gzipSize = require("gzip-size");
const path = require("path");

let pkg = path.basename(process.env.PWD);
let pkg = path.basename(process.env.PWD || process.cwd());
let babel = `${__dirname}/../node_modules/.bin/babel`;
let rollup = `${__dirname}/../node_modules/.bin/rollup`;
let rollupConfig = `${__dirname}/rollup-config.js`;
Expand Down

0 comments on commit 5dbce18

Please sign in to comment.