nav tabs on admin dashboard

This commit is contained in:
2019-03-07 00:20:34 -06:00
parent f73d6ae228
commit e4f473f376
11661 changed files with 216240 additions and 1544253 deletions

View File

@@ -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;