diff --git a/maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps/transform.js b/maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps/transform.js index 37e2c234e..5291ba97e 100644 --- a/maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps/transform.js +++ b/maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps/transform.js @@ -164,7 +164,10 @@ function babelifyPackage(destPkg) { const prjRelPaths = findFiles( project.dir.asNative, - gl.prefix(`${project.dir.asPosix}/${destPkg.dir.asPosix}/`, globs) + gl.prefix( + `${path.posix.join(project.dir.asPosix, destPkg.dir.asPosix)}/`, + globs + ) ); log.debug(