weapp-tailwindcss 5.0.8 → 5.0.11

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.
Files changed (67) hide show
  1. package/dist/auto-CTp6wE5a.js +33 -0
  2. package/dist/auto-Cl8_hsG6.mjs +22 -0
  3. package/dist/{bundle-state-cHwTyrOS.js → bundle-state-BwtEqxvU.js} +3 -3
  4. package/dist/{bundle-state-5FtFktJr.mjs → bundle-state-CXzPknlT.mjs} +2 -2
  5. package/dist/bundlers/vite/official-tailwind-plugins.d.ts +0 -2
  6. package/dist/cli.js +1 -159
  7. package/dist/cli.mjs +1 -159
  8. package/dist/core.js +1 -1
  9. package/dist/core.mjs +1 -1
  10. package/dist/css-macro/auto.d.ts +1 -7
  11. package/dist/css-macro/postcss.d.ts +1 -6
  12. package/dist/css-macro/postcss.js +15 -3
  13. package/dist/css-macro/postcss.mjs +2 -2
  14. package/dist/css-macro.js +19 -5
  15. package/dist/css-macro.mjs +16 -2
  16. package/dist/{generator-C--TrAod.js → generator-ChgOWNOj.js} +1 -1
  17. package/dist/{generator-DnwUQOXB.mjs → generator-h2XRiJ9-.mjs} +1 -1
  18. package/dist/generator.js +2 -2
  19. package/dist/generator.mjs +2 -2
  20. package/dist/{gulp-B22YSGU_.mjs → gulp-Be88jhoY.mjs} +5 -5
  21. package/dist/{gulp-5Tan5bHG.js → gulp-CHtZF-oT.js} +6 -6
  22. package/dist/gulp.js +1 -1
  23. package/dist/gulp.mjs +1 -1
  24. package/dist/{hmr-timing-CscCNKb9.js → hmr-timing-BkivBZvN.js} +41 -43
  25. package/dist/{hmr-timing-DK-mine6.mjs → hmr-timing-Ct5w4hdM.mjs} +6 -7
  26. package/dist/index.js +6 -6
  27. package/dist/index.mjs +5 -5
  28. package/dist/postcss.d.ts +2 -13
  29. package/dist/postcss.js +14 -3
  30. package/dist/postcss.mjs +10 -1
  31. package/dist/{precheck-CcxTR7E_.mjs → precheck-BpHxsWRd.mjs} +4 -4
  32. package/dist/{precheck-B8y6tDvG.js → precheck-CY9oaH49.js} +5 -5
  33. package/dist/presets.js +4 -4
  34. package/dist/presets.mjs +3 -3
  35. package/dist/tailwindcss/source-scan/inline-source.d.ts +1 -1
  36. package/dist/{tailwindcss-0DaftXcU.mjs → tailwindcss-Bfy2egdX.mjs} +2 -2
  37. package/dist/{tailwindcss-DbZ4o4m_.js → tailwindcss-DbbAKAZP.js} +3 -3
  38. package/dist/{transform-DiW_u3eD.js → transform-Cd634UZV.js} +1 -1
  39. package/dist/{transform-DRyWUN5X.mjs → transform-r5evL6Hn.mjs} +1 -1
  40. package/dist/types/index.d.ts +1 -2
  41. package/dist/{v3-engine-ArQVHEau.mjs → v3-engine-CFkP6dWF.mjs} +4 -5
  42. package/dist/{v3-engine-DdlvXpID.js → v3-engine-D0yA9ZkF.js} +35 -73
  43. package/dist/{vite-_iUhzc4t.mjs → vite-Bd8qf9dK.mjs} +21 -423
  44. package/dist/{vite-C_IUnDBy.js → vite-j9cB2Ff1.js} +38 -443
  45. package/dist/vite.js +1 -1
  46. package/dist/vite.mjs +1 -1
  47. package/dist/watch-dependencies-bpG6kmAf.js +80 -0
  48. package/dist/weapp-tw-css-import-rewrite-loader.js +60 -393
  49. package/dist/weapp-tw-runtime-classset-loader.js +2 -2
  50. package/dist/{webpack-KLoTb5Dr.js → webpack-CJAOcYEO.js} +8 -8
  51. package/dist/{webpack-CqnI4Ymw.mjs → webpack-DPdrcC2X.mjs} +7 -7
  52. package/dist/webpack.js +1 -1
  53. package/dist/webpack.mjs +1 -1
  54. package/package.json +3 -5
  55. package/dist/auto-Cvy0zWpS.js +0 -238
  56. package/dist/auto-DEHRmEAx.mjs +0 -200
  57. package/dist/bundlers/vite/postcss-config.d.ts +0 -6
  58. package/dist/bundlers/vite/processed-css-assets/css-rules.d.ts +0 -17
  59. package/dist/postcss/config-directive.d.ts +0 -1
  60. package/dist/postcss/context.d.ts +0 -9
  61. package/dist/postcss/source-files.d.ts +0 -8
  62. package/dist/postcss/tailwind-version.d.ts +0 -3
  63. package/dist/postcss-C7BMYpEF.mjs +0 -169
  64. package/dist/postcss-CiYLsqZn.js +0 -192
  65. package/dist/postcss-CjWuDZwL.mjs +0 -275
  66. package/dist/postcss-R5pDVHUy.js +0 -284
  67. package/dist/watch-dependencies-zwx4EhBn.js +0 -5535
@@ -0,0 +1,80 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+ //#endregion
23
+ let node_fs = require("node:fs");
24
+ let node_path = require("node:path");
25
+ node_path = __toESM(node_path);
26
+ //#region src/bundlers/webpack/loaders/runtime-registry.ts
27
+ const runtimeRegistryHolder = globalThis;
28
+ const runtimeRegistry = runtimeRegistryHolder.__WEAPP_TW_WEBPACK_LOADER_RUNTIME_REGISTRY__ ?? (runtimeRegistryHolder.__WEAPP_TW_WEBPACK_LOADER_RUNTIME_REGISTRY__ = /* @__PURE__ */ new Map());
29
+ function getWebpackLoaderRuntime(key) {
30
+ return key ? runtimeRegistry.get(key) : void 0;
31
+ }
32
+ //#endregion
33
+ //#region src/bundlers/webpack/loaders/watch-dependencies.ts
34
+ function normalizeWebpackWatchPath(file) {
35
+ return node_path.default.resolve(file);
36
+ }
37
+ function registerWebpackWatchFile(loaderContext, file) {
38
+ const resolved = normalizeWebpackWatchPath(file);
39
+ try {
40
+ if ((0, node_fs.statSync)(resolved).isDirectory()) {
41
+ loaderContext.addContextDependency?.(resolved);
42
+ return;
43
+ }
44
+ loaderContext.addDependency?.(resolved);
45
+ } catch {
46
+ if (loaderContext.addMissingDependency) {
47
+ loaderContext.addMissingDependency(resolved);
48
+ return;
49
+ }
50
+ loaderContext.addDependency?.(resolved);
51
+ }
52
+ }
53
+ function registerWebpackWatchContext(loaderContext, context) {
54
+ loaderContext.addContextDependency?.(normalizeWebpackWatchPath(context));
55
+ }
56
+ //#endregion
57
+ Object.defineProperty(exports, "__toESM", {
58
+ enumerable: true,
59
+ get: function() {
60
+ return __toESM;
61
+ }
62
+ });
63
+ Object.defineProperty(exports, "getWebpackLoaderRuntime", {
64
+ enumerable: true,
65
+ get: function() {
66
+ return getWebpackLoaderRuntime;
67
+ }
68
+ });
69
+ Object.defineProperty(exports, "registerWebpackWatchContext", {
70
+ enumerable: true,
71
+ get: function() {
72
+ return registerWebpackWatchContext;
73
+ }
74
+ });
75
+ Object.defineProperty(exports, "registerWebpackWatchFile", {
76
+ enumerable: true,
77
+ get: function() {
78
+ return registerWebpackWatchFile;
79
+ }
80
+ });