We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1703721 commit 47cfca4Copy full SHA for 47cfca4
lib/loader.js
@@ -19,6 +19,10 @@ module.exports = function(content, map) {
19
var sourceMap = query.sourceMap || false;
20
var resolve = createResolver(query.alias);
21
22
+ if (global && global.getLocalIdent) {
23
+ query.getLocalIdent = global.getLocalIdent;
24
+ }
25
+
26
if(sourceMap) {
27
if (map) {
28
if (typeof map === "string") {
@@ -108,7 +112,7 @@ module.exports = function(content, map) {
108
112
return "\" + escape(require(" + loaderUtils.stringifyRequest(this, urlRequest) + ")) + \"";
109
113
}.bind(this));
110
114
}
111
-
115
116
var exportJs = compileExports(result, importItemMatcher.bind(this), camelCaseKeys);
117
if (exportJs) {
118
exportJs = "exports.locals = " + exportJs + ";";
0 commit comments