We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dba04c commit d400198Copy full SHA for d400198
1 file changed
scripts/rollup/packaging.js
@@ -173,7 +173,9 @@ function copyNodePackageTemplate(packageName) {
173
if (whitelistedFiles && whitelistedFiles.length > 0) {
174
const npmFiles = fs.readdirSync(npmFrom);
175
const whitelistedNpmFiles = npmFiles.filter(file => {
176
- return whitelistedFiles.includes(file);
+ return (
177
+ whitelistedFiles.includes(file) || whitelistedFiles.includes(`${file}/`)
178
+ );
179
});
180
let whitelistedNpmFilesProxies = [];
181
if (whitelistedNpmFiles.length > 0) {
0 commit comments