Fix JQuery provide for materialize.

This commit is contained in:
Alexis Lahouze 2017-08-30 23:14:13 +02:00
parent 926acd18ae
commit 7021cff9d9
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ module.exports = {
},
plugins: [
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery"
}),
new webpack.ContextReplacementPlugin(