Skip to content

Commit 2640447

Browse files
committed
upd: not match comment
1 parent d8d7443 commit 2640447

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = function(source) {
2-
return source.replace(/(\\n\s*)|(<!--.*-->)/g, '');
2+
return source.replace(/(\\n\s*)/g, '');
33
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "template-string-optimize-loader",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "template string optimize loader module for webpack",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)