nav tabs on admin dashboard
This commit is contained in:
27
node_modules/style-loader/url.js
generated
vendored
27
node_modules/style-loader/url.js
generated
vendored
@@ -16,17 +16,24 @@ module.exports.pitch = function (request) {
|
||||
|
||||
validateOptions(require('./options.json'), options, 'Style Loader (URL)');
|
||||
|
||||
return [
|
||||
"// style-loader: Adds some reference to a css file to the DOM by adding a <link> tag",
|
||||
"var update = require(" + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "lib", "addStyleUrl.js")) + ")(",
|
||||
"\trequire(" + loaderUtils.stringifyRequest(this, "!!" + request) + ")",
|
||||
", " + JSON.stringify(options) + ");",
|
||||
"// Hot Module Replacement",
|
||||
options.hmr = typeof options.hmr === 'undefined' ? true : options.hmr;
|
||||
|
||||
var hmr = [
|
||||
// Hot Module Replacement
|
||||
"if(module.hot) {",
|
||||
"\tmodule.hot.accept(" + loaderUtils.stringifyRequest(this, "!!" + request) + ", function() {",
|
||||
"\t\tupdate(require(" + loaderUtils.stringifyRequest(this, "!!" + request) + "));",
|
||||
"\t});",
|
||||
"\tmodule.hot.dispose(function() { update(); });",
|
||||
" module.hot.accept(" + loaderUtils.stringifyRequest(this, "!!" + request) + ", function() {",
|
||||
" update(require(" + loaderUtils.stringifyRequest(this, "!!" + request) + "));",
|
||||
" });",
|
||||
"",
|
||||
" module.hot.dispose(function() { update(); });",
|
||||
"}"
|
||||
].join("\n");
|
||||
|
||||
return [
|
||||
// Adds some reference to a CSS file to the DOM by adding a <link> tag
|
||||
"var update = require(" + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "lib", "addStyleUrl.js")) + ")(",
|
||||
" require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ")",
|
||||
", " + JSON.stringify(options) + ");",
|
||||
options.hmr ? hmr : ""
|
||||
].join("\n");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user