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 8d876df commit 863426aCopy full SHA for 863426a
index.js
@@ -19,7 +19,7 @@ function traverse(input) {
19
else if (isObject(input)) {
20
for (let key in input) {
21
if (typeof input[key] === 'string') {
22
- input[key] = input[key].replace(/(\n\s*)/g, '');
+ input[key] = input[key].replace(/(\n\s+)/g, '');
23
}
24
traverse(input[key]);
25
package.json
@@ -1,10 +1,11 @@
1
{
2
"name": "template-string-optimize-loader",
3
- "version": "2.2.0",
+ "version": "2.2.1",
4
"description": "template string optimize loader module for webpack",
5
"main": "index.js",
6
"scripts": {
7
- "test": " webpack && webpack --config webpack.config.optimize.js"
+ "test": " webpack && webpack --config webpack.config.optimize.js",
8
+ "release": "npm publish"
9
},
10
"author": "chenjiahan",
11
"license": "ISC",
0 commit comments