pkgbld 1.32.1 → 1.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -935,7 +935,7 @@ async function writeJson(path, json) {
|
|
|
935
935
|
await fs.writeFile(path, toFormattedJson(json));
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
var version = "1.32.
|
|
938
|
+
var version = "1.32.2";
|
|
939
939
|
var name = "pkgbld";
|
|
940
940
|
var license = "MIT";
|
|
941
941
|
var author = "Konstantin Shutkin";
|
|
@@ -1216,7 +1216,7 @@ async function prunePkg(pkg, options, logger) {
|
|
|
1216
1216
|
// load file
|
|
1217
1217
|
const sourceFileContent = await readFile(sourceFile, 'utf8');
|
|
1218
1218
|
// find sourceMappingURL
|
|
1219
|
-
const sourceMappingUrl =
|
|
1219
|
+
const sourceMappingUrl = `\n//# sourceMappingURL=${path.basename(sourceMap)}`;
|
|
1220
1220
|
// remove sourceMappingURL
|
|
1221
1221
|
const newContent = sourceFileContent.replace(sourceMappingUrl, '');
|
|
1222
1222
|
// write file
|
|
@@ -1598,4 +1598,3 @@ function preimport() {
|
|
|
1598
1598
|
['@rollup-extras/plugin-externals', import('@rollup-extras/plugin-externals')]
|
|
1599
1599
|
]) : new Map);
|
|
1600
1600
|
}
|
|
1601
|
-
|
package/package.json
CHANGED