Skip to content

Commit

Permalink
chore: allow local build dir to be absolute path (#10087)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori authored Feb 10, 2023
1 parent cad2481 commit 1d00b40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rollup.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ function getBuildDirectories(packageName, folderName) {

if (process.env.LOCAL_BUILD_DIRECTORY) {
try {
let nodeModulesDir = path.join(
process.cwd(),
let nodeModulesDir = path.resolve(
process.env.LOCAL_BUILD_DIRECTORY,
"node_modules"
);
Expand Down

0 comments on commit 1d00b40

Please sign in to comment.