weapp-tailwindcss 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{bundle-state-CBF5YX1m.js → bundle-state-Bvj01pW7.js} +35 -3
- package/dist/{bundle-state-CQmxxx0R.mjs → bundle-state-DY3eq4Gz.mjs} +24 -4
- package/dist/bundlers/shared/generated-css-marker.d.ts +6 -0
- package/dist/bundlers/shared/generator-css/directives.d.ts +1 -0
- package/dist/bundlers/shared/generator-css/source-files.d.ts +11 -5
- package/dist/bundlers/shared/generator-css/source-resolver.d.ts +2 -0
- package/dist/bundlers/shared/generator-css.d.ts +1 -0
- package/dist/bundlers/vite/bundle-state.d.ts +5 -1
- package/dist/bundlers/vite/css-finalizer.d.ts +12 -3
- package/dist/bundlers/vite/generate-bundle.d.ts +22 -6
- package/dist/bundlers/vite/processed-css-assets.d.ts +10 -2
- package/dist/bundlers/vite/source-candidates.d.ts +2 -0
- package/dist/bundlers/webpack/loaders/watch-dependencies.d.ts +8 -0
- package/dist/cli.js +1 -0
- package/dist/cli.mjs +1 -0
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/{generator-CvmsIQFI.js → generator-Bd1LntD3.js} +1 -1
- package/dist/{generator-DDtsUvkH.mjs → generator-DRHWC1t-.mjs} +1 -1
- package/dist/generator.js +2 -2
- package/dist/generator.mjs +2 -2
- package/dist/gulp.js +16 -10
- package/dist/gulp.mjs +14 -8
- package/dist/{incremental-runtime-class-set-BffodqHh.js → incremental-runtime-class-set-Bl18sFqt.js} +540 -694
- package/dist/{incremental-runtime-class-set-DArodvWs.mjs → incremental-runtime-class-set-CAEuUesH.mjs} +495 -619
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{postcss-BzNYQUOH.mjs → postcss-CJrmfXvi.mjs} +4 -4
- package/dist/{postcss-DE0TOtV9.js → postcss-DfnqZ4Bm.js} +4 -4
- package/dist/postcss.js +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/{precheck-BzYPm-EG.js → precheck-Bj5ReSOU.js} +2 -2
- package/dist/{precheck-jZvTVXXG.mjs → precheck-CUr1DYyy.mjs} +2 -2
- package/dist/presets.js +2 -2
- package/dist/presets.mjs +2 -2
- package/dist/{source-candidates-BuTlMabx.mjs → source-candidates-D7b-Jzsx.mjs} +44 -11
- package/dist/{source-candidates-CxoIaS88.js → source-candidates-DQxvGPSw.js} +49 -10
- package/dist/tailwindcss/source-scan.d.ts +3 -1
- package/dist/{tailwindcss-CCZcu0lr.mjs → tailwindcss-D5RogwtV.mjs} +2 -2
- package/dist/{tailwindcss-DZckITp1.js → tailwindcss-jvoYizzX.js} +7 -1
- package/dist/{v3-engine-DGBhUnjn.mjs → v3-engine-BCUGX3gX.mjs} +637 -31
- package/dist/{v3-engine-M6Aqru5T.js → v3-engine-CmIF_gsq.js} +768 -30
- package/dist/{vite-DgRkWVPG.js → vite-D1ZdgbWa.js} +533 -290
- package/dist/{vite-BBcQIJpD.mjs → vite-jBTi5CwO.mjs} +532 -289
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/{runtime-registry-DpcR3IHI.js → watch-dependencies-zwx4EhBn.js} +39 -0
- package/dist/weapp-tw-css-import-rewrite-loader.js +1932 -1621
- package/dist/weapp-tw-runtime-classset-loader.js +6 -6
- package/dist/{webpack-D43aMQzO.mjs → webpack-CChDqRrl.mjs} +6 -6
- package/dist/{webpack-D-gb4ZvO.js → webpack-vk2uqSnK.js} +7 -7
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +2 -2
package/dist/vite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_vite = require("./vite-
|
|
2
|
+
const require_vite = require("./vite-D1ZdgbWa.js");
|
|
3
3
|
exports.WeappTailwindcss = require_vite.WeappTailwindcss;
|
|
4
4
|
exports.weappTailwindcss = require_vite.WeappTailwindcss;
|
package/dist/vite.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WeappTailwindcss } from "./vite-
|
|
1
|
+
import { t as WeappTailwindcss } from "./vite-jBTi5CwO.mjs";
|
|
2
2
|
export { WeappTailwindcss, WeappTailwindcss as weappTailwindcss };
|
|
@@ -21,6 +21,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
|
+
let node_fs = require("node:fs");
|
|
25
|
+
let node_path = require("node:path");
|
|
26
|
+
node_path = __toESM(node_path);
|
|
24
27
|
//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
25
28
|
var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26
29
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
@@ -5476,6 +5479,30 @@ function getWebpackLoaderRuntime(key) {
|
|
|
5476
5479
|
return key ? runtimeRegistry.get(key) : void 0;
|
|
5477
5480
|
}
|
|
5478
5481
|
//#endregion
|
|
5482
|
+
//#region src/bundlers/webpack/loaders/watch-dependencies.ts
|
|
5483
|
+
function normalizeWebpackWatchPath(file) {
|
|
5484
|
+
return node_path.default.resolve(file);
|
|
5485
|
+
}
|
|
5486
|
+
function registerWebpackWatchFile(loaderContext, file) {
|
|
5487
|
+
const resolved = normalizeWebpackWatchPath(file);
|
|
5488
|
+
try {
|
|
5489
|
+
if ((0, node_fs.statSync)(resolved).isDirectory()) {
|
|
5490
|
+
loaderContext.addContextDependency?.(resolved);
|
|
5491
|
+
return;
|
|
5492
|
+
}
|
|
5493
|
+
loaderContext.addDependency?.(resolved);
|
|
5494
|
+
} catch {
|
|
5495
|
+
if (loaderContext.addMissingDependency) {
|
|
5496
|
+
loaderContext.addMissingDependency(resolved);
|
|
5497
|
+
return;
|
|
5498
|
+
}
|
|
5499
|
+
loaderContext.addDependency?.(resolved);
|
|
5500
|
+
}
|
|
5501
|
+
}
|
|
5502
|
+
function registerWebpackWatchContext(loaderContext, context) {
|
|
5503
|
+
loaderContext.addContextDependency?.(normalizeWebpackWatchPath(context));
|
|
5504
|
+
}
|
|
5505
|
+
//#endregion
|
|
5479
5506
|
Object.defineProperty(exports, "__toESM", {
|
|
5480
5507
|
enumerable: true,
|
|
5481
5508
|
get: function() {
|
|
@@ -5494,3 +5521,15 @@ Object.defineProperty(exports, "postcss_default", {
|
|
|
5494
5521
|
return postcss_default;
|
|
5495
5522
|
}
|
|
5496
5523
|
});
|
|
5524
|
+
Object.defineProperty(exports, "registerWebpackWatchContext", {
|
|
5525
|
+
enumerable: true,
|
|
5526
|
+
get: function() {
|
|
5527
|
+
return registerWebpackWatchContext;
|
|
5528
|
+
}
|
|
5529
|
+
});
|
|
5530
|
+
Object.defineProperty(exports, "registerWebpackWatchFile", {
|
|
5531
|
+
enumerable: true,
|
|
5532
|
+
get: function() {
|
|
5533
|
+
return registerWebpackWatchFile;
|
|
5534
|
+
}
|
|
5535
|
+
});
|