@normed/bundle 4.3.1 → 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 +4 -0
- package/README.md +2 -0
- package/bundles/bin/cli.js +1 -1
- package/bundles/bin/cli.js.map +2 -2
- package/bundles/index.js +1 -1
- package/bundles/index.js.map +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ Given a version number MAJOR.MINOR.PATCH, increment the:
|
|
|
6
6
|
2. MINOR version when you add functionality in a backwards compatible manner, and
|
|
7
7
|
3. PATCH version when you make backwards compatible bug fixes.
|
|
8
8
|
|
|
9
|
+
# 4.3.2
|
|
10
|
+
|
|
11
|
+
* MINOR: fixes map files being expected when no sourcemap value is set.
|
|
12
|
+
|
|
9
13
|
# 4.3.1
|
|
10
14
|
|
|
11
15
|
* MINOR: Fixes artefact check for building less files (resolves unexpected artefact / missing artefact).
|
package/README.md
CHANGED
|
@@ -57,6 +57,8 @@ Specify your configuration in your `package.json` by adding the `"bundle"` entry
|
|
|
57
57
|
|
|
58
58
|
```ts
|
|
59
59
|
type EntryConfig = {
|
|
60
|
+
"entrypoint"?: boolean,
|
|
61
|
+
|
|
60
62
|
// When true or a string outputs bundle analysis files. When a string, uses that string to prefix analysis files
|
|
61
63
|
"analyse"?: boolean | string,
|
|
62
64
|
|
package/bundles/bin/cli.js
CHANGED
|
@@ -69412,7 +69412,7 @@ var esbuilder = {
|
|
|
69412
69412
|
const outdir = exampleFile.outfile.basedir;
|
|
69413
69413
|
const indir = exampleFile.infile.basedir;
|
|
69414
69414
|
const baseConfig = exampleFile.entryconfig.esbuild;
|
|
69415
|
-
const expectingSourcemap = (baseConfig.sourcemap ?? true) && baseConfig.sourcemap !== "inline";
|
|
69415
|
+
const expectingSourcemap = (baseConfig.sourcemap ?? true) && Boolean(baseConfig.sourcemap) && baseConfig.sourcemap !== "inline";
|
|
69416
69416
|
const jsOutExt = baseConfig.format === "esm" ? "js" : "js";
|
|
69417
69417
|
const promises = [];
|
|
69418
69418
|
log_default.verbose("Base Config", JSON.stringify(baseConfig, null, 2));
|