Add materialize in webpack provide plugin.

This commit is contained in:
Alexis Lahouze 2017-10-06 23:58:23 +02:00
parent a283651eae
commit a20e481f08

View File

@ -115,6 +115,7 @@ module.exports = {
}, },
plugins: [ plugins: [
new webpack.ProvidePlugin({ new webpack.ProvidePlugin({
Materialize: "materialize-css",
$: "jquery", $: "jquery",
jQuery: "jquery", jQuery: "jquery",
"window.jQuery": "jquery" "window.jQuery": "jquery"