Skip to content

Commit 1d00b40

Browse files
authored
chore: allow local build dir to be absolute path (#10087)
1 parent cad2481 commit 1d00b40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rollup.utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ function getBuildDirectories(packageName, folderName) {
3030

3131
if (process.env.LOCAL_BUILD_DIRECTORY) {
3232
try {
33-
let nodeModulesDir = path.join(
34-
process.cwd(),
33+
let nodeModulesDir = path.resolve(
3534
process.env.LOCAL_BUILD_DIRECTORY,
3635
"node_modules"
3736
);

0 commit comments

Comments
 (0)