use import modules given its asynchronous import
This commit is contained in:
parent
c9558a811a
commit
7c4b4f84bf
1 changed files with 3 additions and 3 deletions
6
scripts/external/processor.js
vendored
6
scripts/external/processor.js
vendored
|
@ -2,9 +2,9 @@
|
||||||
Process the information on the website and display it on screen.
|
Process the information on the website and display it on screen.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// const inject = ((await import(chrome.runtime.getURL("scripts/external/inject.js"))).default);
|
import scraper from "/scripts/external/scraper.js";
|
||||||
const scraper = (await import(chrome.runtime.getURL("scripts/external/scraper.js"))).default;
|
import product from "/scripts/product.js";
|
||||||
const product = (await import(chrome.runtime.getURL("scripts/product.js"))).default;
|
import injection from "/scripts/GUI/inject.js"
|
||||||
|
|
||||||
export default class processor {
|
export default class processor {
|
||||||
#filter;
|
#filter;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue