@normed/bundle 4.5.6 → 4.5.7

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 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.5.7
10
+
11
+ * PATCH: Fix assets referenced via `url()` in less files (fonts, images) not being output. Previously, only the CSS file was written but referenced assets were missing from the output directory.
12
+
9
13
  # 4.5.6
10
14
 
11
15
  * PATCH: Fix pug and less file reference paths to be relative to the HTML output location. Previously, paths could be absolute or incorrect when files were in subdirectories. Now paths like `./css/styles.less` are correctly rewritten to `css/styles-hash.css` relative to the HTML file.
@@ -70013,13 +70013,13 @@ var esbuilder = {
70013
70013
  const relativeFilePath = import_path8.default.relative(outdir, file.path);
70014
70014
  if (relativeFilePath.endsWith(".css")) {
70015
70015
  lessToOutputPath.set(lessSourcePath, relativeFilePath);
70016
- await fileWriter.writeFile(file.path, file.contents, {
70017
- encoding: "utf-8"
70018
- });
70019
70016
  log_default.debug(
70020
70017
  `Built less file: ${import_path8.default.relative(indir, lessSourcePath)} -> ${relativeFilePath}`
70021
70018
  );
70022
70019
  }
70020
+ await fileWriter.writeFile(file.path, file.contents, {
70021
+ encoding: "utf-8"
70022
+ });
70023
70023
  }
70024
70024
  }
70025
70025
  }