Add jquery and materialize-css in tsconfig.

This commit is contained in:
Alexis Lahouze 2017-10-09 08:27:37 +02:00
parent 13d79ae567
commit 4982931457
2 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,10 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"lib": [ "es2015", "dom" ], "lib": [ "es2015", "dom" ],
"noImplicitAny": false, "noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true "suppressImplicitAnyIndexErrors": true,
"types": [
"jquery",
"materialize-css"
]
} }
} }

View File

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