From e956fd3eea1ab78d50c340c8f2ef89d3b2b0231b Mon Sep 17 00:00:00 2001 From: Pavel Sevcik Date: Fri, 21 Dec 2018 09:48:28 +0700 Subject: [PATCH] fix(package): Add source-map files to npm releases #2942 --- scripts/cp-pkgs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cp-pkgs.js b/scripts/cp-pkgs.js index ff8cdc3d199..48401e9e785 100644 --- a/scripts/cp-pkgs.js +++ b/scripts/cp-pkgs.js @@ -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); });