Skip to content

Commit

Permalink
fix(ewa-webpack): 修复 wxml 绕过缓存的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfeyaj committed Jul 1, 2021
1 parent 415ca34 commit 624f13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack/lib/rules/wxml.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = function wxmlRule(options = {}) {
];

// 开启缓存
// if (options.cache) htmlRules = ['cache-loader'].concat(htmlRules);
if (options.cache) htmlRules = ['cache-loader'].concat(htmlRules);

return {
test: /\.wxml$/i,
Expand Down

0 comments on commit 624f13e

Please sign in to comment.