Merge pull request #7567 from byzyk/types/use-strict-plugin

chore(types): UseStrictPlugin
This commit is contained in:
Tobias Koppers 2018-06-20 17:33:28 +02:00 committed by GitHub
commit c61b0fdec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -6,7 +6,13 @@
const ConstDependency = require("./dependencies/ConstDependency");
/** @typedef {import("./Compiler.js")} Compiler */
class UseStrictPlugin {
/**
* @param {Compiler} compiler Webpack Compiler
* @returns {void}
*/
apply(compiler) {
compiler.hooks.compilation.tap(
"UseStrictPlugin",