@normed/bundle 4.5.2 → 4.5.5
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 +12 -0
- package/bundles/bin/cli.js +844 -695
- package/bundles/bin/cli.js.map +4 -4
- package/bundles/esbuild-plugins/css_url_resolver.d.ts +20 -0
- package/bundles/esbuild-plugins/index.d.ts +1 -0
- package/bundles/esbuild-plugins/load_pug.d.ts +16 -0
- package/bundles/index.js +844 -695
- package/bundles/index.js.map +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ 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.5.5
|
|
10
|
+
|
|
11
|
+
* PATCH: Fix `url()` references in less files referenced from pug templates not being processed. Less files are now built through esbuild's CSS pipeline, which properly resolves `url()` references, copies assets to the output directory, and rewrites paths to hashed filenames.
|
|
12
|
+
|
|
13
|
+
# 4.5.4
|
|
14
|
+
|
|
15
|
+
* PATCH: Fix CSS `url()` values being incorrectly treated as npm package specifiers by Yarn PnP. Data URIs (like Bootstrap's inline SVGs) and relative paths (like Leaflet's `images/layers.png`) are now handled correctly.
|
|
16
|
+
|
|
17
|
+
# 4.5.3
|
|
18
|
+
|
|
19
|
+
* MINOR: Less files referenced from pug templates are now compiled to CSS. The `href` is rewritten to point to the compiled `.css` file with a content hash.
|
|
20
|
+
|
|
9
21
|
# 4.5.2
|
|
10
22
|
|
|
11
23
|
* PATCH: Fixes incorrect asset path resolution in pug templates when using custom `assetNames` configuration. Asset paths are now correctly computed relative to the HTML output location.
|