wxt 0.20.15 → 0.20.16

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.
@@ -78,8 +78,8 @@ async function createViteBuilder(wxtConfig, hooks, getWxtDevServer) {
78
78
  },
79
79
  rollupOptions: { output: {
80
80
  entryFileNames: getEntrypointBundlePath(entrypoint, wxtConfig.outDir, ".js"),
81
- assetFileNames: ({ names }) => {
82
- if (entrypoint.type === "content-script" && names[0].endsWith("css")) return `content-scripts/${entrypoint.name}.[ext]`;
81
+ assetFileNames: ({ name }) => {
82
+ if (entrypoint.type === "content-script" && name?.endsWith("css")) return `content-scripts/${entrypoint.name}.[ext]`;
83
83
  else return `assets/${entrypoint.name}.[ext]`;
84
84
  }
85
85
  } }
package/dist/version.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/version.ts
2
- const version = "0.20.15";
2
+ const version = "0.20.16";
3
3
 
4
4
  //#endregion
5
5
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.20.15",
4
+ "version": "0.20.16",
5
5
  "description": "⚡ Next-gen Web Extension Framework",
6
6
  "license": "MIT",
7
7
  "dependencies": {