From a5da8b922e43495f43edaee991cdf4d495a045fc Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Fri, 10 Jan 2025 11:05:42 +0400 Subject: [PATCH] fix(js-toolkit): fix glob path construction) --- .../packages/liferay-npm-bundler/src/steps/transform.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(