Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 9d6375b

Browse files
Pavel Sevcikkfranqueiro
authored andcommitted
fix(package): Add source-map files to npm releases (#4206)
1 parent d218a20 commit 9d6375b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cp-pkgs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function cpAsset(asset) {
7979

8080
cleanPkgDistDirs();
8181

82-
Promise.all(globSync('build/*.{css,js}').map(cpAsset)).catch((err) => {
82+
Promise.all(globSync('build/*.{css,js,map}').map(cpAsset)).catch((err) => {
8383
console.error(`Error encountered copying assets: ${err}`);
8484
process.exit(1);
8585
});

0 commit comments

Comments
 (0)