Skip to content

Commit

Permalink
Merge pull request #1068 from embroider-build/exclude-inner-node-modules
Browse files Browse the repository at this point in the history
exclude inner node modules
  • Loading branch information
ef4 committed Jan 8, 2022
2 parents 85e6743 + 0d47db4 commit 8c9e56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compat/src/build-compat-addon.ts
Expand Up @@ -59,6 +59,6 @@ function buildCompatAddon(originalPackage: Package, v1Cache: V1InstanceCache): N
function withoutNodeModules(originalPackage: Package): Node {
let Klass = originalPackage.mayRebuild ? WatchedDir : UnwatchedDir;
return buildFunnel(new Klass(originalPackage.root), {
exclude: ['node_modules'],
exclude: ['node_modules', '*/node_modules'],
});
}

0 comments on commit 8c9e56a

Please sign in to comment.