@dcasia/mini-program-tailwind-webpack-plugin
Advanced tools
Comparing version 1.5.4 to 1.5.5
@@ -521,3 +521,3 @@ 'use strict'; | ||
compilation.hooks.afterOptimizeModules.tap(TaroVNodeTailwindWebpackPlugin.pluginName, function (modules) { | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c; | ||
var startTime = 0; | ||
@@ -527,12 +527,10 @@ if (_this.options.enableDebugLog) { | ||
} | ||
for (var _i = 0, _e = Array.from(modules); _i < _e.length; _i++) { | ||
var module_1 = _e[_i]; | ||
// @ts-ignore | ||
console.log((_a = module_1 === null || module_1 === void 0 ? void 0 : module_1._source) === null || _a === void 0 ? void 0 : _a._valueAsString); | ||
for (var _f = 0, _g = _this.moduleCharcs; _f < _g.length; _f++) { | ||
var charc = _g[_f]; | ||
for (var _i = 0, _d = Array.from(modules); _i < _d.length; _i++) { | ||
var module_1 = _d[_i]; | ||
for (var _e = 0, _f = _this.moduleCharcs; _e < _f.length; _e++) { | ||
var charc = _f[_e]; | ||
// @ts-ignore | ||
var moduleRawContent = isWebpackV5 ? (_b = module_1 === null || module_1 === void 0 ? void 0 : module_1._source) === null || _b === void 0 ? void 0 : _b._valueAsString : (_c = module_1 === null || module_1 === void 0 ? void 0 : module_1._source) === null || _c === void 0 ? void 0 : _c._value; | ||
var moduleRawContent = isWebpackV5 ? (_a = module_1 === null || module_1 === void 0 ? void 0 : module_1._source) === null || _a === void 0 ? void 0 : _a._valueAsString : (_b = module_1 === null || module_1 === void 0 ? void 0 : module_1._source) === null || _b === void 0 ? void 0 : _b._value; | ||
// @ts-ignore | ||
if (((_d = module_1 === null || module_1 === void 0 ? void 0 : module_1.resource) === null || _d === void 0 ? void 0 : _d.includes(charc)) && moduleRawContent) { | ||
if (((_c = module_1 === null || module_1 === void 0 ? void 0 : module_1.resource) === null || _c === void 0 ? void 0 : _c.includes(charc)) && moduleRawContent) { | ||
rawVsModifiedPairs.push.apply(rawVsModifiedPairs, collectRawAndModified(moduleRawContent, _this.options.framework)); | ||
@@ -539,0 +537,0 @@ } |
{ | ||
"name": "@dcasia/mini-program-tailwind-webpack-plugin", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"description": "让你的小程序用上原汁原味的 Tailwind/Windi CSS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118950
2212