Closed
Description
I'm afraid that the answer for this will just be "eject" but I'll ask anyways.
With an entry point like this:
// index.js
import 'jquery/dist/jquery.min.js';
import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap/dist/js/bootstrap.min.js';
You'll get the error:
For right now I have jQuery in my index.html, but believe this is fixed by providing something like the following in the webpack config:
plugins: [
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery"
})
],
However I'd really like to avoid ejecting. Any thoughts?
Metadata
Assignees
Labels
No labels