mirror of https://github.com/webpack/webpack.git
Merge pull request #7567 from byzyk/types/use-strict-plugin
chore(types): UseStrictPlugin
This commit is contained in:
commit
c61b0fdec1
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue