@normed/bundle 4.3.0 → 4.3.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/CHANGELOG.md +8 -0
- package/README.md +2 -0
- package/bundles/bin/cli.js +5 -1
- package/bundles/bin/cli.js.map +2 -2
- package/bundles/index.js +5 -1
- package/bundles/index.js.map +2 -2
- package/package.json +1 -1
package/bundles/index.js
CHANGED
|
@@ -69413,6 +69413,10 @@ var esbuilder = {
|
|
|
69413
69413
|
if (jsTypeFile.test(ext)) {
|
|
69414
69414
|
return jsOutExt;
|
|
69415
69415
|
}
|
|
69416
|
+
switch (ext) {
|
|
69417
|
+
case "less":
|
|
69418
|
+
return "css";
|
|
69419
|
+
}
|
|
69416
69420
|
return ext;
|
|
69417
69421
|
};
|
|
69418
69422
|
const exampleFile = build2[0];
|
|
@@ -69422,7 +69426,7 @@ var esbuilder = {
|
|
|
69422
69426
|
const outdir = exampleFile.outfile.basedir;
|
|
69423
69427
|
const indir = exampleFile.infile.basedir;
|
|
69424
69428
|
const baseConfig = exampleFile.entryconfig.esbuild;
|
|
69425
|
-
const expectingSourcemap = (baseConfig.sourcemap ?? true) && baseConfig.sourcemap !== "inline";
|
|
69429
|
+
const expectingSourcemap = (baseConfig.sourcemap ?? true) && Boolean(baseConfig.sourcemap) && baseConfig.sourcemap !== "inline";
|
|
69426
69430
|
const jsOutExt = baseConfig.format === "esm" ? "js" : "js";
|
|
69427
69431
|
const promises = [];
|
|
69428
69432
|
log_default.verbose("Base Config", JSON.stringify(baseConfig, null, 2));
|