nav tabs on admin dashboard
This commit is contained in:
15
node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js
generated
vendored
15
node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js
generated
vendored
@@ -10,11 +10,16 @@ const WebWorkerHotUpdateChunkTemplatePlugin = require("./WebWorkerHotUpdateChunk
|
||||
|
||||
class WebWorkerTemplatePlugin {
|
||||
apply(compiler) {
|
||||
compiler.plugin("this-compilation", compilation => {
|
||||
compilation.mainTemplate.apply(new WebWorkerMainTemplatePlugin());
|
||||
compilation.chunkTemplate.apply(new WebWorkerChunkTemplatePlugin());
|
||||
compilation.hotUpdateChunkTemplate.apply(new WebWorkerHotUpdateChunkTemplatePlugin());
|
||||
});
|
||||
compiler.hooks.thisCompilation.tap(
|
||||
"WebWorkerTemplatePlugin",
|
||||
compilation => {
|
||||
new WebWorkerMainTemplatePlugin().apply(compilation.mainTemplate);
|
||||
new WebWorkerChunkTemplatePlugin().apply(compilation.chunkTemplate);
|
||||
new WebWorkerHotUpdateChunkTemplatePlugin().apply(
|
||||
compilation.hotUpdateChunkTemplate
|
||||
);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
module.exports = WebWorkerTemplatePlugin;
|
||||
|
||||
Reference in New Issue
Block a user