@webmate-studio/builder 0.2.18 → 0.2.19

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/bundler.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
package/src/bundler.js CHANGED
@@ -42,6 +42,7 @@ export async function bundleIsland(islandPath, outputPath, options = {}) {
42
42
  target,
43
43
  outfile: outputPath,
44
44
  platform: 'browser',
45
+ charset: 'utf8', // Force UTF-8 output to prevent base64 corruption (esbuild bug #1501)
45
46
  // Loaders for different file types
46
47
  // NOTE: All image formats are handled by custom plugin above (image-base64-dataurl)
47
48
  // to generate proper data:image/...;base64,... URLs for CSS compatibility