You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
You should inject $ as global object into js files. Prepack doesn't now anything about such variables...
Webpack contains webpack.ProvidePlugin for such cases or use const $ = require('jquery') . It's not prepack issue at all because prepack is NodeJs package and works under NodeJs. You should pay attention on this. It's not "browser-package" but NodeJS...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ReferenceError: $ is not defined
at script.js:84:1 (https://github.com/facebook/prepack/wiki/PP0023)
The text was updated successfully, but these errors were encountered: