reactredux app: webpack.ProvidePlugin is not supplying jQuery in vendor.js #334

Closed
opened 2025-08-09 17:15:53 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @timothywisdom on 11/1/2017

I have created a new app via the command:
dotnet new reactredux

Next I have installed all the dependencies with the command:
npm install

Then I run the app via the command:
dotnet run

And I can see the app running when I visit localhost:5000

However, the webpack.ProvidePlugin in the webpack.config.vendor.js file is supposed to provide jQuery globally everywhere. Yet, when I open a JS console and try to access jQuery, it's not available.
$ is returning ƒ $(selector, [startNode]) { [Command Line API] }
jQuery is undefined

Have I missed something? Does anyone else have this problem?

*Originally created by @timothywisdom on 11/1/2017* I have created a new app via the command: `dotnet new reactredux` Next I have installed all the dependencies with the command: `npm install` Then I run the app via the command: `dotnet run` And I can see the app running when I visit localhost:5000 However, the webpack.ProvidePlugin in the webpack.config.vendor.js file is supposed to provide jQuery globally everywhere. Yet, when I open a JS console and try to access jQuery, it's not available. `$` is returning `ƒ $(selector, [startNode]) { [Command Line API] }` `jQuery` is undefined Have I missed something? Does anyone else have this problem?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#334
No description provided.