Skip to content

Commit b22076e

Browse files
updated copy packages script
1 parent bc72ebc commit b22076e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/copy.packages.json.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const outputCjsDir = './lib';
77
const outputEsmDir = './es';
88

99
copyfiles([input, process.env.NODE_ENV === 'cjs' ? outputCjsDir : outputEsmDir], {
10-
up: 1
10+
up: 1,
11+
exclude: './src/**/__tests__/**/package.json'
1112
}, (err) => {
1213
if (err) {
1314
console.log('Error copying package.json files: ' + err);

0 commit comments

Comments
 (0)