-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load jquery.js file under content script directory #76
Comments
Try importing jQuery directly in your index.tsInstall jQuery yarn add jquery index.ts import $ from "jquery"; |
Thank you for your advice. |
Check
|
just like this:
|
Everything is fine during the dev mode, but after run
yarn build
and reload the extension, the dev console shows the error:I can find jquery.js in the Sources tab, and
$
can be successfully called in the dev consolemanifest.ts
content like belowThe text was updated successfully, but these errors were encountered: