Fix JQuery provide for materialize.

This commit is contained in:
Alexis Lahouze
2017-10-28 22:26:02 +02:00
parent 926acd18ae
commit 7021cff9d9
+2
View File
@@ -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(