Fix JQuery provide for materialize.
This commit is contained in:
parent
926acd18ae
commit
7021cff9d9
@ -125,6 +125,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
|
$: "jquery",
|
||||||
|
jQuery: "jquery",
|
||||||
"window.jQuery": "jquery"
|
"window.jQuery": "jquery"
|
||||||
}),
|
}),
|
||||||
new webpack.ContextReplacementPlugin(
|
new webpack.ContextReplacementPlugin(
|
||||||
|
Loading…
Reference in New Issue
Block a user