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

Commit a07a119

Browse files
committed
changes regex to remove false-positives from webpack2 builds
1 parent 64a8d25 commit a07a119

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)