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

@@ -4,24 +4,33 @@
*/
"use strict";
const ConcatSource = require("webpack-sources").ConcatSource;
const { ConcatSource } = require("webpack-sources");
class NodeHotUpdateChunkTemplatePlugin {
apply(hotUpdateChunkTemplate) {
hotUpdateChunkTemplate.plugin("render", (modulesSource, modules, removedModules, hash, id) => {
const source = new ConcatSource();
source.add("exports.id = " + JSON.stringify(id) + ";\nexports.modules = ");
source.add(modulesSource);
source.add(";");
return source;
});
hotUpdateChunkTemplate.plugin("hash", function(hash) {
hash.update("NodeHotUpdateChunkTemplatePlugin");
hash.update("3");
hash.update(this.outputOptions.hotUpdateFunction + "");
hash.update(this.outputOptions.library + "");
});
hotUpdateChunkTemplate.hooks.render.tap(
"NodeHotUpdateChunkTemplatePlugin",
(modulesSource, modules, removedModules, hash, id) => {
const source = new ConcatSource();
source.add(
"exports.id = " + JSON.stringify(id) + ";\nexports.modules = "
);
source.add(modulesSource);
source.add(";");
return source;
}
);
hotUpdateChunkTemplate.hooks.hash.tap(
"NodeHotUpdateChunkTemplatePlugin",
hash => {
hash.update("NodeHotUpdateChunkTemplatePlugin");
hash.update("3");
hash.update(
hotUpdateChunkTemplate.outputOptions.hotUpdateFunction + ""
);
hash.update(hotUpdateChunkTemplate.outputOptions.library + "");
}
);
}
}
module.exports = NodeHotUpdateChunkTemplatePlugin;