Skip to content

Commit 35e2519

Browse files
Merge pull request #1242 from bryceosterhaus/fixBundler
fix(npm-bundler): account for negations and absolute paths work
2 parents 551b87b + 0eb7fdb commit 35e2519

File tree

1 file changed

+1
-1
lines changed
  • maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps

1 file changed

+1
-1
lines changed

maintenance/projects/js-toolkit/packages/liferay-npm-bundler/src/steps/transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function babelifyPackage(destPkg) {
154154

155155
// Determine file globs
156156

157-
const globs = ['**/*.js', '!node_modules/**/*'];
157+
const globs = ['**/*.js', '!**/node_modules/**/*'];
158158

159159
if (destPkg.isRoot) {
160160
globs.push(...gl.negate(project.transform.babelIgnores));

0 commit comments

Comments
 (0)