Skip to content

Commit

Permalink
fix:删除let
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackgan3 committed Jul 28, 2023
1 parent 21338cd commit 4b16cdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/webpack-plugin/lib/wxss/runtime/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
/* eslint no-var: off */
module.exports = function (cssWithMappingToString) {
var list = []

Expand Down Expand Up @@ -60,8 +61,8 @@ module.exports = function (cssWithMappingToString) {
}
}

for (var k = 0; k < modules.length; k++) {
var item = [].concat(modules[k])
for (var k1 = 0; k1 < modules.length; k1++) {
var item = [].concat(modules[k1])

if (dedupe && alreadyImportedModules[item[0]]) {
continue
Expand Down
1 change: 1 addition & 0 deletions packages/webpack-plugin/lib/wxss/runtime/sourceMaps.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint no-var: off */
module.exports = function (item) {
var content = item[1]
var cssMapping = item[3]
Expand Down

0 comments on commit 4b16cdc

Please sign in to comment.