Skip to content

Commit

Permalink
fix(npm-bundler): account for negations and absolute paths work
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Jan 9, 2025
1 parent 551b87b commit 0eb7fdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function babelifyPackage(destPkg) {

// Determine file globs

const globs = ['**/*.js', '!node_modules/**/*'];
const globs = ['**/*.js', '!**/node_modules/**/*'];

if (destPkg.isRoot) {
globs.push(...gl.negate(project.transform.babelIgnores));
Expand Down

0 comments on commit 0eb7fdb

Please sign in to comment.