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 Sep 15, 2023. It is now read-only.
I develope websites running on Wordpress, where jquery is already loaded, thus I'd like to avoid the redundancy of loading it another time bundled in my app.js.
The Webpack documentation suggests to use externals to load external libraries like so:
I develope websites running on Wordpress, where jquery is already loaded, thus I'd like to avoid the redundancy of loading it another time bundled in my app.js.
The Webpack documentation suggests to use externals to load external libraries like so:
and then
import $
before my code like so:I tried to add the first piece of code in
task-config.js
, but webpack failed to compile with the following error:I'm certainly making something wrong here. Would you please help me?
The text was updated successfully, but these errors were encountered: