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

@@ -5,17 +5,14 @@
"use strict";
const Module = require("./Module");
const OriginalSource = require("webpack-sources").OriginalSource;
const RawSource = require("webpack-sources").RawSource;
const { OriginalSource, RawSource } = require("webpack-sources");
module.exports = class RawModule extends Module {
constructor(source, identifier, readableIdentifier) {
super();
super("javascript/dynamic", null);
this.sourceStr = source;
this.identifierStr = identifier || this.sourceStr;
this.readableIdentifierStr = readableIdentifier || this.identifierStr;
this.cacheable = true;
this.built = false;
}
@@ -36,15 +33,20 @@ module.exports = class RawModule extends Module {
}
build(options, compilations, resolver, fs, callback) {
this.builtTime = Date.now();
this.built = true;
this.buildMeta = {};
this.buildInfo = {
cacheable: true
};
callback();
}
source() {
if(this.useSourceMap)
if (this.useSourceMap) {
return new OriginalSource(this.sourceStr, this.identifier());
else
} else {
return new RawSource(this.sourceStr);
}
}
updateHash(hash) {