Skip to content

Commit e875ca1

Browse files
author
zhuqiacheng
committed
indent
1 parent 4c93433 commit e875ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ module.exports = function(content) {
118118

119119
content = htmlMinifier.minify(content, minimizeOptions);
120120
}
121-
121+
122122
if(config.interpolate && config.interpolate !== 'require') {
123123
content = compile('`' + content + '`').code;
124124
} else {
125125
content = JSON.stringify(content);
126126
}
127-
127+
128128
return "module.exports = " + content.replace(/xxxHTMLLINKxxx[0-9\.]+xxx/g, function(match) {
129129
if(!data[match]) return match;
130130
return '" + require(' + JSON.stringify(loaderUtils.urlToRequest(data[match], root)) + ') + "';

0 commit comments

Comments
 (0)