Skip to content

Commit

Permalink
fix: Temporary modifications to support Chrome 130.
Browse files Browse the repository at this point in the history
  • Loading branch information
qingchoulove committed Oct 28, 2024
1 parent 164f33e commit 142184e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions chrome-extension/assets/index.tsx-loader-2MxPyVFe.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@

const injectTime = performance.now();
(async () => {
const { onExecute } = await import(
/* @vite-ignore */
chrome.runtime.getURL("assets/chunk-CBVaWBKk.js")
);
const { onExecute } = await import("./chunk-CBVaWBKk.js");
onExecute?.({ perf: { injectTime, loadTime: performance.now() - injectTime } });
})().catch(console.error);

Expand Down
2 changes: 1 addition & 1 deletion chrome-extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"assets/chunk-B9e8ng1t.js",
"assets/chunk-CBVaWBKk.js"
],
"use_dynamic_url": true
"use_dynamic_url": false
}
],
"host_permissions": [
Expand Down

0 comments on commit 142184e

Please sign in to comment.