Skip to content

Commit

Permalink
fix(package): Add source-map files to npm releases (#4206)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Sevcik authored and kfranqueiro committed Jan 3, 2019
1 parent d218a20 commit 9d6375b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cp-pkgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function cpAsset(asset) {

cleanPkgDistDirs();

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

0 comments on commit 9d6375b

Please sign in to comment.