diff --git a/src/pages/content/index.ts b/src/pages/content/index.ts index a0dac613a..a47110467 100644 --- a/src/pages/content/index.ts +++ b/src/pages/content/index.ts @@ -1,9 +1,13 @@ -console.log('content loaded'); - /** - * @description + * DO NOT USE import someModule from '...'; + * + * @issue-url https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/issues/160 + * * Chrome extensions don't support modules in content scripts. * If you want to use other modules in content scripts, you need to import them via these files. + * */ import('@pages/content/ui'); import('@pages/content/injected'); + +console.log('content loaded');