What is the syntax for including libraries in the bundle? What I found in "LIBRARY AND EXTERNALS" for the documentation is this:
What do I need to do if i want to do this instead:
You can include it using Provideplugin
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery"
}),
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.