Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 8923d43

Browse files
authored
Merge pull request #25 from LIQIDTechnology/master
FIX: changes regex to remove false-positives from webpack2 builds
2 parents 64a8d25 + a07a119 commit 8923d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function(input) {
4040
const filename = this.resourcePath;
4141
const cssModuleInterfaceFilename = filenameToTypingsFilename(filename);
4242

43-
const keyRegex = /"([^"]+)":/g;
43+
const keyRegex = /"([^\\"]+)":/g;
4444
let match;
4545
const cssModuleKeys = [];
4646

0 commit comments

Comments
 (0)