nav tabs on admin dashboard
This commit is contained in:
12
node_modules/webpack/lib/node/NodeTemplatePlugin.js
generated
vendored
12
node_modules/webpack/lib/node/NodeTemplatePlugin.js
generated
vendored
@@ -16,10 +16,14 @@ class NodeTemplatePlugin {
|
||||
}
|
||||
|
||||
apply(compiler) {
|
||||
compiler.plugin("this-compilation", (compilation) => {
|
||||
compilation.mainTemplate.apply(new NodeMainTemplatePlugin(this.asyncChunkLoading));
|
||||
compilation.chunkTemplate.apply(new NodeChunkTemplatePlugin());
|
||||
compilation.hotUpdateChunkTemplate.apply(new NodeHotUpdateChunkTemplatePlugin());
|
||||
compiler.hooks.thisCompilation.tap("NodeTemplatePlugin", compilation => {
|
||||
new NodeMainTemplatePlugin(this.asyncChunkLoading).apply(
|
||||
compilation.mainTemplate
|
||||
);
|
||||
new NodeChunkTemplatePlugin().apply(compilation.chunkTemplate);
|
||||
new NodeHotUpdateChunkTemplatePlugin().apply(
|
||||
compilation.hotUpdateChunkTemplate
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user