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.
|
||||
*/
|
||||
|
||||
// const inject = ((await import(chrome.runtime.getURL("scripts/external/inject.js"))).default);
|
||||
const scraper = (await import(chrome.runtime.getURL("scripts/external/scraper.js"))).default;
|
||||
const product = (await import(chrome.runtime.getURL("scripts/product.js"))).default;
|
||||
import scraper from "/scripts/external/scraper.js";
|
||||
import product from "/scripts/product.js";
|
||||
import injection from "/scripts/GUI/inject.js"
|
||||
|
||||
export default class processor {
|
||||
#filter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue