Skip to content

Commit ff49e3e

Browse files
committed
删除多余的console.log语句
1 parent e8215e7 commit ff49e3e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

atomcss-loader.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,10 @@ module.exports = function(sSource) {
119119
// html 文本需要特殊处理
120120
sClassString = sPugString ? sPugString[0] : '.' + sHtmlString[0].match(/class=("|')([a-zA-Z0-9 \- _]*)("|')/ig).map(item => item.replace(/class=('|")|("|')/g, '').split(' ').join('.')).join('.');
121121
} catch (e) {
122-
console.log(e, sHtmlString);
122+
console.log(e);
123123
return sSource;
124124
}
125125

126-
console.log(sClassString)
127-
128126
// 没有找到 template 模板,则无需处理
129127
if (!sClassString) return sSource;
130128

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-atomcss-loader",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"homepage": "https://github.com/wujr5/vue-atomcss-loader",
66
"repository": {
@@ -9,7 +9,7 @@
99
},
1010
"main": "atomcss-loader.js",
1111
"scripts": {
12-
"test": "echo \"Error: no test specified\" && exit 1"
12+
"test": "cd test && npm run serve"
1313
},
1414
"keywords": [
1515
"atomcss"

0 commit comments

Comments
 (0)