@crxjs/vite-plugin 2.0.0-beta.5 → 2.0.0-beta.6
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/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -303,7 +303,7 @@ const pluginBackground = () => {
|
|
|
303
303
|
const port = config.server.port?.toString();
|
|
304
304
|
if (typeof port === "undefined")
|
|
305
305
|
throw new Error("server port is undefined in watch mode");
|
|
306
|
-
loader = `import 'http
|
|
306
|
+
loader = `import 'http://localhost:${port}/@vite/env';
|
|
307
307
|
`;
|
|
308
308
|
loader += `import 'http://localhost:${port}${workerClientId}';
|
|
309
309
|
`;
|