We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f7108 commit b871592Copy full SHA for b871592
lib/getLocalIdent.js
@@ -4,6 +4,7 @@
4
*/
5
var loaderUtils = require("loader-utils");
6
module.exports = function getLocalIdent(loaderContext, localIdentName, localName, options) {
7
+ if ( /^\-/.test(localName) ) return localName;
8
var request = loaderContext.options && typeof loaderContext.options.context === "string" ?
9
loaderUtils.stringifyRequest({ context: loaderContext.options.context }, loaderUtils.getRemainingRequest(loaderContext)) :
10
loaderContext.request;
0 commit comments