Skip to content

Commit

Permalink
docs: fix content script's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonghakseo committed Nov 5, 2023
1 parent e3c30ed commit 514702f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/pages/content/index.ts
Original file line number Diff line number Diff line change
@@ -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');

0 comments on commit 514702f

Please sign in to comment.