weapp-tailwindcss 5.1.2 → 5.1.4
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/README.md +1 -1
- package/dist/auto-CrJJc5rK.mjs +13 -0
- package/dist/bundlers/gulp/index.d.ts +3 -3
- package/dist/bundlers/rspack/index.d.ts +20 -0
- package/dist/bundlers/shared/generator-css/local-imports.d.ts +1 -10
- package/dist/bundlers/shared/generator-css/source-resolver.d.ts +1 -1
- package/dist/bundlers/vite/css-memory.d.ts +1 -0
- package/dist/bundlers/vite/generate-bundle/css-handler-options.d.ts +1 -0
- package/dist/bundlers/vite/generate-bundle/source-candidate-scope.d.ts +1 -1
- package/dist/bundlers/vite/generate-bundle/temporary-css-assets.d.ts +12 -0
- package/dist/bundlers/vite/generate-bundle/types.d.ts +1 -0
- package/dist/bundlers/vite/processed-css-assets.d.ts +1 -0
- package/dist/bundlers/vite/serve-js-transform.d.ts +11 -0
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers.d.ts +4 -1
- package/dist/cli.js +8 -8
- package/dist/cli.mjs +8 -8
- package/dist/{context-C-r8ki7x.mjs → context-Bkpmt3ja.mjs} +62 -36
- package/dist/{context-CH4HFZP2.js → context-DCVMkTRj.js} +76 -44
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/css-macro/auto.d.ts +1 -1
- package/dist/css-macro/postcss.js +2 -2
- package/dist/css-macro.js +3 -3
- package/dist/css-macro.mjs +1 -1
- package/dist/{defaults-CmFBmxsr.js → defaults-DQhgnnn-.js} +1 -1
- package/dist/defaults.js +1 -1
- package/dist/framework/index.d.ts +7 -2
- package/dist/framework/platform.d.ts +2 -0
- package/dist/framework.js +39 -8
- package/dist/framework.mjs +33 -6
- package/dist/{generator-BsPIaLtV.mjs → generator-24-HgU9F.mjs} +5 -3
- package/dist/{generator-B6pUjNdD.js → generator-CilgHtxb.js} +6 -4
- package/dist/generator.js +2 -2
- package/dist/generator.mjs +2 -2
- package/dist/{gulp-CTdcASq8.mjs → gulp-0RsqkF_d.mjs} +4 -4
- package/dist/{gulp-BBCeA7ky.js → gulp-Bogfnoki.js} +12 -11
- package/dist/gulp.js +1 -1
- package/dist/gulp.mjs +1 -1
- package/dist/{hmr-timing-BRx-KnBh.mjs → hmr-timing-BRNaz8Od.mjs} +62 -166
- package/dist/{hmr-timing-Da1eI8S0.js → hmr-timing-BV6nFPoT.js} +65 -187
- package/dist/index.js +9 -4
- package/dist/index.mjs +7 -6
- package/dist/postcss-html-transform.js +2 -2
- package/dist/postcss.js +2 -2
- package/dist/postcss.mjs +2 -2
- package/dist/presets/shared.d.ts +4 -0
- package/dist/presets.js +32 -16
- package/dist/presets.mjs +28 -14
- package/dist/reset.js +2 -2
- package/dist/rspack.d.ts +3 -0
- package/dist/rspack.js +68 -0
- package/dist/rspack.mjs +62 -0
- package/dist/{source-candidate-scan-signature-Dugfplms.mjs → source-candidate-scan-signature-BB1hvW68.mjs} +12 -6
- package/dist/{source-candidate-scan-signature-BO6JSskQ.js → source-candidate-scan-signature-CaDT0gkj.js} +16 -9
- package/dist/tailwindcss/v4-engine/css-macro-source.d.ts +2 -0
- package/dist/{tailwindcss-B5mRo0-M.mjs → tailwindcss-D0JF0fuZ.mjs} +6 -6
- package/dist/{tailwindcss-dbrbY4cd.js → tailwindcss-D2xs4OEu.js} +11 -11
- package/dist/{transform-DeqFRp1D.mjs → transform-BP86eSZp.mjs} +19 -19
- package/dist/{transform-BLleu_bA.js → transform-CXCQ28Tc.js} +47 -47
- package/dist/{utils-BCa37Wqj.js → utils-D3h8j7Mk.js} +2 -2
- package/dist/{v4-engine-C3qSwQ-e.mjs → v4-engine-BuuYDXt1.mjs} +58 -118
- package/dist/{v4-engine-ON_oSLfO.js → v4-engine-CKtsdKxK.js} +66 -120
- package/dist/{vite-CXmUiI9f.mjs → vite-B1SlBmqO.mjs} +436 -73
- package/dist/{vite-Da4uEG_u.js → vite-BYgT1ir9.js} +443 -80
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.js +143 -216
- package/dist/weapp-tw-runtime-classset-loader.js +2 -2
- package/dist/{webpack-CrFZmdo7.mjs → webpack-Bg6pefpb.mjs} +109 -18
- package/dist/{webpack-Cwqnznng.js → webpack-khSwkXP5.js} +115 -24
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +9 -4
- package/dist/auto-Ba6hDrse.mjs +0 -13
- /package/dist/{chunk-emK7D4bc.js → rolldown-runtime-emK7D4bc.js} +0 -0
package/README.md
CHANGED
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
更多接入方式、配置说明和框架示例见 [weapp-tailwindcss 官方文档](https://tw.icebreaker.top)。
|
|
10
10
|
|
|
11
|
-
Tailwind CSS 4 项目中,入口 CSS
|
|
11
|
+
Tailwind CSS 4 项目中,入口 CSS 需要同时满足两点:在项目里被实际引入,并通过 `cssEntries` 显式传给插件用于稳定识别。`cssEntries` 不是替代 import 的开关。
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { hasCssMacroStyleOptions, hasCssMacroTailwindV4CustomVariantConditionalComments, hasCssMacroTailwindV4Source, transformCssMacroCss, transformCssMacroTailwindV4Source, withCssMacroStyleOptions } from "@weapp-tailwindcss/postcss";
|
|
2
|
+
//#region src/css-macro/auto.ts
|
|
3
|
+
const CSS_MACRO_PLUGIN_MARKER = "__weappTailwindcssCssMacro";
|
|
4
|
+
function markCssMacroPlugin(value) {
|
|
5
|
+
Object.defineProperty(value, CSS_MACRO_PLUGIN_MARKER, {
|
|
6
|
+
configurable: false,
|
|
7
|
+
enumerable: false,
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
return value;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { transformCssMacroCss as a, markCssMacroPlugin as i, hasCssMacroTailwindV4CustomVariantConditionalComments as n, transformCssMacroTailwindV4Source as o, hasCssMacroTailwindV4Source as r, withCssMacroStyleOptions as s, hasCssMacroStyleOptions as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CreateJsHandlerOptions, IStyleHandlerOptions, ITemplateHandlerOptions, UserDefinedOptions } from '../../types';
|
|
2
2
|
export declare function createPlugins(options?: UserDefinedOptions): {
|
|
3
|
-
transformWxss: (options?: Partial<IStyleHandlerOptions>) => import("stream").Transform;
|
|
4
|
-
transformWxml: (options?: Partial<ITemplateHandlerOptions>) => import("stream").Transform;
|
|
5
|
-
transformJs: (options?: Partial<CreateJsHandlerOptions>) => import("stream").Transform;
|
|
3
|
+
transformWxss: (options?: Partial<IStyleHandlerOptions>) => import("node:stream").Transform;
|
|
4
|
+
transformWxml: (options?: Partial<ITemplateHandlerOptions>) => import("node:stream").Transform;
|
|
5
|
+
transformJs: (options?: Partial<CreateJsHandlerOptions>) => import("node:stream").Transform;
|
|
6
6
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { WebpackCssImportRewriteLoaderOptions } from '../webpack/loaders/runtime-registry';
|
|
2
|
+
import { WeappTailwindcss, weappTailwindcssPackageDir } from '../webpack';
|
|
3
|
+
export { WeappTailwindcss, weappTailwindcss, weappTailwindcssPackageDir };
|
|
4
|
+
declare const weappTailwindcss: typeof WeappTailwindcss;
|
|
5
|
+
export interface PatchRspackCssImportRewriteLoaderOptions {
|
|
6
|
+
loader?: string;
|
|
7
|
+
options?: WebpackCssImportRewriteLoaderOptions;
|
|
8
|
+
}
|
|
9
|
+
export interface PatchRspackConfigOptions {
|
|
10
|
+
cssImportRewriteLoader?: boolean | PatchRspackCssImportRewriteLoaderOptions;
|
|
11
|
+
removeLightningCssLoader?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface RspackConfigLike {
|
|
14
|
+
module?: {
|
|
15
|
+
rules?: unknown[];
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
export declare function patchRspackConfig(config: RspackConfigLike, options?: PatchRspackConfigOptions): RspackConfigLike;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function cleanLocalCssImportWrapperTailwindDirectives(css: string): string | undefined;
|
|
3
|
-
export declare function splitLocalCssImports(source: string): {
|
|
4
|
-
imports: string;
|
|
5
|
-
source: string;
|
|
6
|
-
} | undefined;
|
|
7
|
-
export declare function restoreLocalCssImports(css: string, imports: string | undefined): string;
|
|
8
|
-
export declare function rewriteLocalCssImportRequestsForOutput(css: string, options?: {
|
|
9
|
-
styleOutputExtension?: string | undefined;
|
|
10
|
-
}): string;
|
|
1
|
+
export { cleanLocalCssImportWrapperTailwindDirectives, cleanLocalCssImportWrapperTailwindDirectivesRoot, createCssSourceOrderAppend, isLocalCssImportRequest, isPureLocalCssImportWrapper, isPureLocalCssImportWrapperRoot, normalizeOutputImportRequest, restoreLocalCssImports, rewriteLocalCssImportRequestsForOutput, rewriteLocalCssImportRequestsForOutputRoot, splitLocalCssImports, splitLocalCssImportsRoot, } from '@weapp-tailwindcss/postcss';
|
|
@@ -4,6 +4,6 @@ import type { NormalizedWeappTailwindcssGeneratorOptions, TailwindResolvedSource
|
|
|
4
4
|
export type { GeneratorResolvedSource, GeneratorSourceMetadata } from './source-resolver/metadata';
|
|
5
5
|
export { resolveCssSourceBase } from './source-resolver/postcss-source';
|
|
6
6
|
export type { GeneratorSourceRuntimeState, GeneratorSourceSelectionOptions } from './source-resolver/types';
|
|
7
|
-
export declare function resolveGeneratorSource(_majorVersion: number | undefined, runtimeState: GeneratorSourceRuntimeState, rawSource: string, file: string, cssHandlerOptions: IStyleHandlerOptions, generatorOptions?: NormalizedWeappTailwindcssGeneratorOptions, selectionOptions?: GeneratorSourceSelectionOptions): Promise<import("@/generator").TailwindV4ResolvedSource
|
|
7
|
+
export declare function resolveGeneratorSource(_majorVersion: number | undefined, runtimeState: GeneratorSourceRuntimeState, rawSource: string, file: string, cssHandlerOptions: IStyleHandlerOptions, generatorOptions?: NormalizedWeappTailwindcssGeneratorOptions, selectionOptions?: GeneratorSourceSelectionOptions): Promise<import("@/generator").TailwindV4ResolvedSource>;
|
|
8
8
|
export declare function resolveGeneratorSources(majorVersion: number | undefined, runtimeState: GeneratorSourceRuntimeState, rawSource: string, file: string, cssHandlerOptions: IStyleHandlerOptions, generatorOptions?: NormalizedWeappTailwindcssGeneratorOptions, selectionOptions?: GeneratorSourceSelectionOptions): Promise<TailwindResolvedSource[]>;
|
|
9
9
|
export declare function resolveGeneratorSourceEntries(source: TailwindResolvedSource, runtimeState?: GeneratorSourceRuntimeState): Promise<import("@/tailwindcss/source-scan").TailwindSourceEntry[] | undefined>;
|
|
@@ -6,6 +6,7 @@ export declare function createViteCssMemory(options: {
|
|
|
6
6
|
getSourceCandidateSource: (file: string) => string | undefined;
|
|
7
7
|
}): {
|
|
8
8
|
getKnownSfcSource: (file: string) => string | undefined;
|
|
9
|
+
getKnownCssSource: (file: string) => string | undefined;
|
|
9
10
|
getRememberedCssSignature: (file: string) => string | undefined;
|
|
10
11
|
getRememberedCssSourceEntry: (file: string) => RememberedCssSource | undefined;
|
|
11
12
|
getRememberedCssSources: () => Map<string, RememberedCssSource>;
|
|
@@ -16,6 +16,7 @@ interface CssHandlerOptionsCacheOptions {
|
|
|
16
16
|
getMajorVersion: () => number | undefined;
|
|
17
17
|
getOutputRoot?: (() => string | undefined) | undefined;
|
|
18
18
|
getExtraOptions?: ((file: string) => Partial<IStyleHandlerOptions>) | undefined;
|
|
19
|
+
getDynamicCssOptions?: (() => Partial<IStyleHandlerOptions>) | undefined;
|
|
19
20
|
}
|
|
20
21
|
export interface CssHandlerOptionsCache {
|
|
21
22
|
getCssHandlerOptions: (file: string) => CssHandlerOptions;
|
|
@@ -23,7 +23,7 @@ export declare function createSubpackageSourceCandidateScope(options: CreateSubp
|
|
|
23
23
|
shouldExcludeSubpackageSourceCandidates: (outputFile: string, cssHandlerOptions: {
|
|
24
24
|
isMainChunk?: boolean | undefined;
|
|
25
25
|
}) => boolean;
|
|
26
|
-
shouldInjectCssIntoMainFromOutput: (outputFile: string,
|
|
26
|
+
shouldInjectCssIntoMainFromOutput: (outputFile: string, sourceFile: string, outputCssHandlerOptions: {
|
|
27
27
|
isMainChunk?: boolean | undefined;
|
|
28
28
|
}) => boolean;
|
|
29
29
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RememberedCssSource } from './types';
|
|
2
|
+
export interface TemporaryCssSourceEntry {
|
|
3
|
+
file: string;
|
|
4
|
+
outputFile: string;
|
|
5
|
+
source: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function isTemporaryCssAssetFile(file: string): boolean;
|
|
8
|
+
export declare function createTemporaryCssAssetSourceResolver(entries: TemporaryCssSourceEntry[]): {
|
|
9
|
+
entries: TemporaryCssSourceEntry[];
|
|
10
|
+
markUsed(sourceFile: string | undefined): void;
|
|
11
|
+
resolve(outputFile: string, rawSource?: string): RememberedCssSource | undefined;
|
|
12
|
+
};
|
|
@@ -49,6 +49,7 @@ export interface GenerateBundleContext {
|
|
|
49
49
|
getRememberedCssSources?: () => Iterable<[string, RememberedCssSource]>;
|
|
50
50
|
getRememberedCssSignature?: (file: string) => string | undefined;
|
|
51
51
|
setRememberedCssSignature?: (file: string, cssRuntimeSignature: string) => void;
|
|
52
|
+
getKnownCssSource?: (file: string) => string | undefined;
|
|
52
53
|
getKnownSfcSource?: (file: string) => string | undefined;
|
|
53
54
|
recordGeneratorCandidates?: (candidates: Set<string>) => void;
|
|
54
55
|
pruneViteCssCaches?: (options: {
|
|
@@ -28,6 +28,7 @@ interface CollectViteProcessedCssAssetOptions {
|
|
|
28
28
|
recordViteProcessedCssAssetResult?: CssAssetResultRecorder | undefined;
|
|
29
29
|
resolveViteProcessedCssOutputFile?: ((file: string) => string | undefined) | undefined;
|
|
30
30
|
subpackageRoots?: Set<string> | undefined;
|
|
31
|
+
transformCss?: ((css: string, file: string) => string) | undefined;
|
|
31
32
|
debug?: ((format: string, ...args: unknown[]) => void) | undefined;
|
|
32
33
|
}
|
|
33
34
|
interface InjectViteProcessedCssAssetOptions {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Plugin } from 'vite';
|
|
2
|
+
import type { CreateJsHandlerOptions, InternalUserDefinedOptions } from '../../types';
|
|
3
|
+
interface ViteServeJsTransformOptions {
|
|
4
|
+
createHandlerOptions: (absoluteFilename: string, extra?: CreateJsHandlerOptions) => CreateJsHandlerOptions;
|
|
5
|
+
getCommand: () => string | undefined;
|
|
6
|
+
jsHandler: InternalUserDefinedOptions['jsHandler'];
|
|
7
|
+
shouldTransform: () => boolean;
|
|
8
|
+
transformRuntime: () => Promise<Set<string>> | Set<string>;
|
|
9
|
+
}
|
|
10
|
+
export declare function createViteServeJsTransformPlugin(options: ViteServeJsTransformOptions): Plugin;
|
|
11
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import type { createEscapeFragments } from '../../../vite/incremental-runtime-cl
|
|
|
3
3
|
import type { SourceCandidateStore } from '../../../vite/source-candidates';
|
|
4
4
|
import type { SetupWebpackV5ProcessAssetsHookOptions, WebpackSourceLike } from './helpers';
|
|
5
5
|
import type { WebpackSourceCandidateScanMemoryStats } from './source-candidate-cache';
|
|
6
|
-
import type { TailwindcssRuntimeLike } from '../../../../types';
|
|
6
|
+
import type { InternalUserDefinedOptions, TailwindcssRuntimeLike } from '../../../../types';
|
|
7
7
|
export interface WebpackCssHandlerOptions {
|
|
8
8
|
isMainChunk: boolean;
|
|
9
9
|
postcssOptions: {
|
|
@@ -41,6 +41,9 @@ export interface WebpackGeneratorUserCssSource {
|
|
|
41
41
|
}
|
|
42
42
|
export declare function hasUsableWebpackGeneratorCssSources(cssSources: TailwindV4CssSource[] | undefined): cssSources is TailwindV4CssSource[];
|
|
43
43
|
export declare function normalizeWebpackGeneratorCssSources(cssSources: TailwindV4CssSource[] | undefined): import("@tailwindcss-mangle/engine").TailwindV4CssSource[] | undefined;
|
|
44
|
+
export declare function scopeWebpackGeneratorOptionsToCssSource(compilerOptions: InternalUserDefinedOptions, sourceFile: string | undefined, options?: {
|
|
45
|
+
disableUnmatchedCssEntries?: boolean | undefined;
|
|
46
|
+
}): InternalUserDefinedOptions;
|
|
44
47
|
export declare function hasProcessedCssAssetUrl(css: string): boolean;
|
|
45
48
|
export declare function shouldUseWebpackAssetAsGeneratorUserCss(rawSource: string, generatorRawSource: string, options?: {
|
|
46
49
|
processed?: boolean | undefined;
|
package/dist/cli.js
CHANGED
|
@@ -388,14 +388,14 @@ function decodeUnicode2(input) {
|
|
|
388
388
|
}
|
|
389
389
|
//#endregion
|
|
390
390
|
//#region src/js/class-context.ts
|
|
391
|
-
const CLASS_LIKE_KEYWORDS = new Set([
|
|
391
|
+
const CLASS_LIKE_KEYWORDS = /* @__PURE__ */ new Set([
|
|
392
392
|
"class",
|
|
393
393
|
"classname",
|
|
394
394
|
"hoverclass",
|
|
395
395
|
"virtualhostclass",
|
|
396
396
|
"rootclass"
|
|
397
397
|
]);
|
|
398
|
-
const CLASS_HELPER_IDENTIFIERS = new Set([
|
|
398
|
+
const CLASS_HELPER_IDENTIFIERS = /* @__PURE__ */ new Set([
|
|
399
399
|
"cn",
|
|
400
400
|
"clsx",
|
|
401
401
|
"classnames",
|
|
@@ -841,7 +841,7 @@ function walkEvalExpression(path, options, updater, handler) {
|
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
//#endregion
|
|
844
|
-
//#region \0@oxc-project+runtime@0.
|
|
844
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
|
|
845
845
|
function _typeof(o) {
|
|
846
846
|
"@babel/helpers - typeof";
|
|
847
847
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -851,7 +851,7 @@ function _typeof(o) {
|
|
|
851
851
|
}, _typeof(o);
|
|
852
852
|
}
|
|
853
853
|
//#endregion
|
|
854
|
-
//#region \0@oxc-project+runtime@0.
|
|
854
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
|
|
855
855
|
function toPrimitive(t, r) {
|
|
856
856
|
if ("object" != _typeof(t) || !t) return t;
|
|
857
857
|
var e = t[Symbol.toPrimitive];
|
|
@@ -863,13 +863,13 @@ function toPrimitive(t, r) {
|
|
|
863
863
|
return ("string" === r ? String : Number)(t);
|
|
864
864
|
}
|
|
865
865
|
//#endregion
|
|
866
|
-
//#region \0@oxc-project+runtime@0.
|
|
866
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
|
|
867
867
|
function toPropertyKey(t) {
|
|
868
868
|
var i = toPrimitive(t, "string");
|
|
869
869
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
870
870
|
}
|
|
871
871
|
//#endregion
|
|
872
|
-
//#region \0@oxc-project+runtime@0.
|
|
872
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
|
|
873
873
|
function _defineProperty(e, r, t) {
|
|
874
874
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
875
875
|
value: t,
|
|
@@ -1343,7 +1343,7 @@ function createTaggedTemplateIgnore({ matcher, names }) {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
if (item === singleCanonicalIgnoreName) continue;
|
|
1345
1345
|
if (!canonicalIgnoreNames) {
|
|
1346
|
-
canonicalIgnoreNames = new Set([singleCanonicalIgnoreName, item]);
|
|
1346
|
+
canonicalIgnoreNames = /* @__PURE__ */ new Set([singleCanonicalIgnoreName, item]);
|
|
1347
1347
|
continue;
|
|
1348
1348
|
}
|
|
1349
1349
|
canonicalIgnoreNames.add(item);
|
|
@@ -1616,7 +1616,7 @@ defaultEvalHandler = jsHandler;
|
|
|
1616
1616
|
Object.freeze({ wrapExpression: true });
|
|
1617
1617
|
//#endregion
|
|
1618
1618
|
//#region src/wxml/whitespace.ts
|
|
1619
|
-
const WHITESPACE_CODES = new Set([
|
|
1619
|
+
const WHITESPACE_CODES = /* @__PURE__ */ new Set([
|
|
1620
1620
|
9,
|
|
1621
1621
|
10,
|
|
1622
1622
|
11,
|
package/dist/cli.mjs
CHANGED
|
@@ -359,14 +359,14 @@ function decodeUnicode2(input) {
|
|
|
359
359
|
}
|
|
360
360
|
//#endregion
|
|
361
361
|
//#region src/js/class-context.ts
|
|
362
|
-
const CLASS_LIKE_KEYWORDS = new Set([
|
|
362
|
+
const CLASS_LIKE_KEYWORDS = /* @__PURE__ */ new Set([
|
|
363
363
|
"class",
|
|
364
364
|
"classname",
|
|
365
365
|
"hoverclass",
|
|
366
366
|
"virtualhostclass",
|
|
367
367
|
"rootclass"
|
|
368
368
|
]);
|
|
369
|
-
const CLASS_HELPER_IDENTIFIERS = new Set([
|
|
369
|
+
const CLASS_HELPER_IDENTIFIERS = /* @__PURE__ */ new Set([
|
|
370
370
|
"cn",
|
|
371
371
|
"clsx",
|
|
372
372
|
"classnames",
|
|
@@ -812,7 +812,7 @@ function walkEvalExpression(path, options, updater, handler) {
|
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
814
|
//#endregion
|
|
815
|
-
//#region \0@oxc-project+runtime@0.
|
|
815
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
|
|
816
816
|
function _typeof(o) {
|
|
817
817
|
"@babel/helpers - typeof";
|
|
818
818
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -822,7 +822,7 @@ function _typeof(o) {
|
|
|
822
822
|
}, _typeof(o);
|
|
823
823
|
}
|
|
824
824
|
//#endregion
|
|
825
|
-
//#region \0@oxc-project+runtime@0.
|
|
825
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
|
|
826
826
|
function toPrimitive(t, r) {
|
|
827
827
|
if ("object" != _typeof(t) || !t) return t;
|
|
828
828
|
var e = t[Symbol.toPrimitive];
|
|
@@ -834,13 +834,13 @@ function toPrimitive(t, r) {
|
|
|
834
834
|
return ("string" === r ? String : Number)(t);
|
|
835
835
|
}
|
|
836
836
|
//#endregion
|
|
837
|
-
//#region \0@oxc-project+runtime@0.
|
|
837
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
|
|
838
838
|
function toPropertyKey(t) {
|
|
839
839
|
var i = toPrimitive(t, "string");
|
|
840
840
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
841
841
|
}
|
|
842
842
|
//#endregion
|
|
843
|
-
//#region \0@oxc-project+runtime@0.
|
|
843
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
|
|
844
844
|
function _defineProperty(e, r, t) {
|
|
845
845
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
846
846
|
value: t,
|
|
@@ -1314,7 +1314,7 @@ function createTaggedTemplateIgnore({ matcher, names }) {
|
|
|
1314
1314
|
}
|
|
1315
1315
|
if (item === singleCanonicalIgnoreName) continue;
|
|
1316
1316
|
if (!canonicalIgnoreNames) {
|
|
1317
|
-
canonicalIgnoreNames = new Set([singleCanonicalIgnoreName, item]);
|
|
1317
|
+
canonicalIgnoreNames = /* @__PURE__ */ new Set([singleCanonicalIgnoreName, item]);
|
|
1318
1318
|
continue;
|
|
1319
1319
|
}
|
|
1320
1320
|
canonicalIgnoreNames.add(item);
|
|
@@ -1587,7 +1587,7 @@ createRequire(import.meta.url);
|
|
|
1587
1587
|
Object.freeze({ wrapExpression: true });
|
|
1588
1588
|
//#endregion
|
|
1589
1589
|
//#region src/wxml/whitespace.ts
|
|
1590
|
-
const WHITESPACE_CODES = new Set([
|
|
1590
|
+
const WHITESPACE_CODES = /* @__PURE__ */ new Set([
|
|
1591
1591
|
9,
|
|
1592
1592
|
10,
|
|
1593
1593
|
11,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { resolveMpxPlatform } from "./framework.mjs";
|
|
2
|
+
import { W as createTailwindV4Engine$1, ct as omitUndefined, dt as resolveValidTailwindV4Candidates$1, n as resolveTailwindV4SourceFromRuntime, ot as resolveCssMacroTailwindV4Source, ut as loadTailwindV4DesignSystem, y as resolveBooleanObjectOption } from "./v4-engine-BuuYDXt1.mjs";
|
|
3
|
+
import { a as resolveGeneratorRuntimeBranch, i as normalizeWeappTailwindcssGeneratorOptions } from "./generator-24-HgU9F.mjs";
|
|
3
4
|
import { i as isMap, n as defuOverrideArray } from "./utils-DodxWHGz.mjs";
|
|
4
5
|
import { a as DEFAULT_PARSE_CACHE_MAX_SOURCE_LENGTH, i as resolveDefaultCssPreflight, o as HARD_PARSE_CACHE_MAX_ENTRIES, r as getDefaultOptions } from "./defaults-BhE26nSw.mjs";
|
|
5
|
-
import { c as getRuntimeClassSetCacheEntry, d as invalidateRuntimeClassSet, i as resolveUniAppXOptions, o as applyV4CssCalcDefaults, s as warnMissingCssEntries, t as createTailwindcssRuntimeFromContext, u as getRuntimeClassSetSignatureWithSources } from "./tailwindcss-
|
|
6
|
+
import { c as getRuntimeClassSetCacheEntry, d as invalidateRuntimeClassSet, i as resolveUniAppXOptions, o as applyV4CssCalcDefaults, s as warnMissingCssEntries, t as createTailwindcssRuntimeFromContext, u as getRuntimeClassSetSignatureWithSources } from "./tailwindcss-D0JF0fuZ.mjs";
|
|
6
7
|
import { createRequire } from "node:module";
|
|
7
8
|
import path from "node:path";
|
|
8
9
|
import process from "node:process";
|
|
@@ -113,6 +114,23 @@ function initializeCache(cacheConfig) {
|
|
|
113
114
|
return cacheConfig;
|
|
114
115
|
}
|
|
115
116
|
//#endregion
|
|
117
|
+
//#region src/framework/platform.ts
|
|
118
|
+
const MPX_TO_UNI_PLATFORM = {
|
|
119
|
+
ali: "mp-alipay",
|
|
120
|
+
dd: "mp-dingtalk",
|
|
121
|
+
jd: "mp-jd",
|
|
122
|
+
qq: "mp-qq",
|
|
123
|
+
swan: "mp-baidu",
|
|
124
|
+
tt: "mp-toutiao",
|
|
125
|
+
wx: "mp-weixin"
|
|
126
|
+
};
|
|
127
|
+
function normalizeFrameworkStylePlatform(platform, appType) {
|
|
128
|
+
const normalized = platform?.trim().toLowerCase();
|
|
129
|
+
if (!normalized) return;
|
|
130
|
+
if (appType === "mpx") return MPX_TO_UNI_PLATFORM[normalized] ?? normalized;
|
|
131
|
+
return normalized;
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
116
134
|
//#region src/debug/index.ts
|
|
117
135
|
const _debug = _createDebug("weapp-tw");
|
|
118
136
|
function createDebug(prefix) {
|
|
@@ -233,7 +251,7 @@ function tryGetRuntimeClassSetSync(tailwindRuntime) {
|
|
|
233
251
|
async function collectTailwindV4GeneratorClassSet(tailwindRuntime) {
|
|
234
252
|
if (typeof tailwindRuntime.collectContentTokens !== "function") return;
|
|
235
253
|
try {
|
|
236
|
-
const source = await resolveTailwindV4SourceFromRuntime(tailwindRuntime);
|
|
254
|
+
const source = resolveCssMacroTailwindV4Source(await resolveTailwindV4SourceFromRuntime(tailwindRuntime));
|
|
237
255
|
const generated = await createTailwindV4Engine$1(source).generate({
|
|
238
256
|
scanSources: true,
|
|
239
257
|
target: "web"
|
|
@@ -249,7 +267,7 @@ async function collectTailwindV4GeneratorClassSet(tailwindRuntime) {
|
|
|
249
267
|
async function mergeTailwindV4GeneratorClassSet(tailwindRuntime, classSet) {
|
|
250
268
|
const generatorClassSet = await collectTailwindV4GeneratorClassSet(tailwindRuntime).catch(() => void 0);
|
|
251
269
|
if (!generatorClassSet || generatorClassSet.size === 0) return classSet;
|
|
252
|
-
return new Set([...classSet, ...generatorClassSet]);
|
|
270
|
+
return /* @__PURE__ */ new Set([...classSet, ...generatorClassSet]);
|
|
253
271
|
}
|
|
254
272
|
async function collectRuntimeClassSet(tailwindRuntime, options = {}) {
|
|
255
273
|
let activeRuntime = tailwindRuntime;
|
|
@@ -836,14 +854,14 @@ function decodeUnicode2(input) {
|
|
|
836
854
|
}
|
|
837
855
|
//#endregion
|
|
838
856
|
//#region src/js/class-context.ts
|
|
839
|
-
const CLASS_LIKE_KEYWORDS = new Set([
|
|
857
|
+
const CLASS_LIKE_KEYWORDS = /* @__PURE__ */ new Set([
|
|
840
858
|
"class",
|
|
841
859
|
"classname",
|
|
842
860
|
"hoverclass",
|
|
843
861
|
"virtualhostclass",
|
|
844
862
|
"rootclass"
|
|
845
863
|
]);
|
|
846
|
-
const CLASS_HELPER_IDENTIFIERS = new Set([
|
|
864
|
+
const CLASS_HELPER_IDENTIFIERS = /* @__PURE__ */ new Set([
|
|
847
865
|
"cn",
|
|
848
866
|
"clsx",
|
|
849
867
|
"classnames",
|
|
@@ -1289,7 +1307,7 @@ function walkEvalExpression(path, options, updater, handler) {
|
|
|
1289
1307
|
}
|
|
1290
1308
|
}
|
|
1291
1309
|
//#endregion
|
|
1292
|
-
//#region \0@oxc-project+runtime@0.
|
|
1310
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
|
|
1293
1311
|
function _typeof(o) {
|
|
1294
1312
|
"@babel/helpers - typeof";
|
|
1295
1313
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -1299,7 +1317,7 @@ function _typeof(o) {
|
|
|
1299
1317
|
}, _typeof(o);
|
|
1300
1318
|
}
|
|
1301
1319
|
//#endregion
|
|
1302
|
-
//#region \0@oxc-project+runtime@0.
|
|
1320
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
|
|
1303
1321
|
function toPrimitive(t, r) {
|
|
1304
1322
|
if ("object" != _typeof(t) || !t) return t;
|
|
1305
1323
|
var e = t[Symbol.toPrimitive];
|
|
@@ -1311,13 +1329,13 @@ function toPrimitive(t, r) {
|
|
|
1311
1329
|
return ("string" === r ? String : Number)(t);
|
|
1312
1330
|
}
|
|
1313
1331
|
//#endregion
|
|
1314
|
-
//#region \0@oxc-project+runtime@0.
|
|
1332
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
|
|
1315
1333
|
function toPropertyKey(t) {
|
|
1316
1334
|
var i = toPrimitive(t, "string");
|
|
1317
1335
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
1318
1336
|
}
|
|
1319
1337
|
//#endregion
|
|
1320
|
-
//#region \0@oxc-project+runtime@0.
|
|
1338
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
|
|
1321
1339
|
function _defineProperty(e, r, t) {
|
|
1322
1340
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1323
1341
|
value: t,
|
|
@@ -1791,7 +1809,7 @@ function createTaggedTemplateIgnore({ matcher, names }) {
|
|
|
1791
1809
|
}
|
|
1792
1810
|
if (item === singleCanonicalIgnoreName) continue;
|
|
1793
1811
|
if (!canonicalIgnoreNames) {
|
|
1794
|
-
canonicalIgnoreNames = new Set([singleCanonicalIgnoreName, item]);
|
|
1812
|
+
canonicalIgnoreNames = /* @__PURE__ */ new Set([singleCanonicalIgnoreName, item]);
|
|
1795
1813
|
continue;
|
|
1796
1814
|
}
|
|
1797
1815
|
canonicalIgnoreNames.add(item);
|
|
@@ -2492,7 +2510,7 @@ function generateCode(match, options = {}) {
|
|
|
2492
2510
|
}
|
|
2493
2511
|
//#endregion
|
|
2494
2512
|
//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js
|
|
2495
|
-
const decodeMap = new Map([
|
|
2513
|
+
const decodeMap = /* @__PURE__ */ new Map([
|
|
2496
2514
|
[0, 65533],
|
|
2497
2515
|
[128, 8364],
|
|
2498
2516
|
[130, 8218],
|
|
@@ -3035,7 +3053,7 @@ var QuoteType;
|
|
|
3035
3053
|
* sequences with an increased offset.
|
|
3036
3054
|
*/
|
|
3037
3055
|
const Sequences = {
|
|
3038
|
-
Empty: new Uint8Array(0),
|
|
3056
|
+
Empty: /* @__PURE__ */ new Uint8Array(0),
|
|
3039
3057
|
Cdata: new Uint8Array([
|
|
3040
3058
|
67,
|
|
3041
3059
|
68,
|
|
@@ -3164,7 +3182,7 @@ const Sequences = {
|
|
|
3164
3182
|
* where index 2 is the first tag-name character, so matching always
|
|
3165
3183
|
* continues from offset 3.
|
|
3166
3184
|
*/
|
|
3167
|
-
const specialStartSequences = new Map([
|
|
3185
|
+
const specialStartSequences = /* @__PURE__ */ new Map([
|
|
3168
3186
|
[Sequences.IframeEnd[2], Sequences.IframeEnd],
|
|
3169
3187
|
[Sequences.NoembedEnd[2], Sequences.NoembedEnd],
|
|
3170
3188
|
[Sequences.Plaintext[2], Sequences.Plaintext],
|
|
@@ -3892,7 +3910,7 @@ var Tokenizer$1 = class {
|
|
|
3892
3910
|
//#endregion
|
|
3893
3911
|
//#region ../../node_modules/.pnpm/htmlparser2@12.0.0/node_modules/htmlparser2/dist/Parser.js
|
|
3894
3912
|
const { fromCodePoint } = String;
|
|
3895
|
-
const formTags = new Set([
|
|
3913
|
+
const formTags = /* @__PURE__ */ new Set([
|
|
3896
3914
|
"input",
|
|
3897
3915
|
"option",
|
|
3898
3916
|
"optgroup",
|
|
@@ -3901,8 +3919,8 @@ const formTags = new Set([
|
|
|
3901
3919
|
"datalist",
|
|
3902
3920
|
"textarea"
|
|
3903
3921
|
]);
|
|
3904
|
-
const pTag = new Set(["p"]);
|
|
3905
|
-
const headingTags = new Set([
|
|
3922
|
+
const pTag = /* @__PURE__ */ new Set(["p"]);
|
|
3923
|
+
const headingTags = /* @__PURE__ */ new Set([
|
|
3906
3924
|
"h1",
|
|
3907
3925
|
"h2",
|
|
3908
3926
|
"h3",
|
|
@@ -3911,28 +3929,28 @@ const headingTags = new Set([
|
|
|
3911
3929
|
"h6",
|
|
3912
3930
|
"p"
|
|
3913
3931
|
]);
|
|
3914
|
-
const tableSectionTags = new Set(["thead", "tbody"]);
|
|
3915
|
-
const ddtTags = new Set(["dd", "dt"]);
|
|
3916
|
-
const rtpTags = new Set(["rt", "rp"]);
|
|
3917
|
-
const openImpliesClose = new Map([
|
|
3918
|
-
["tr", new Set([
|
|
3932
|
+
const tableSectionTags = /* @__PURE__ */ new Set(["thead", "tbody"]);
|
|
3933
|
+
const ddtTags = /* @__PURE__ */ new Set(["dd", "dt"]);
|
|
3934
|
+
const rtpTags = /* @__PURE__ */ new Set(["rt", "rp"]);
|
|
3935
|
+
const openImpliesClose = /* @__PURE__ */ new Map([
|
|
3936
|
+
["tr", /* @__PURE__ */ new Set([
|
|
3919
3937
|
"tr",
|
|
3920
3938
|
"th",
|
|
3921
3939
|
"td"
|
|
3922
3940
|
])],
|
|
3923
|
-
["th", new Set(["th"])],
|
|
3924
|
-
["td", new Set([
|
|
3941
|
+
["th", /* @__PURE__ */ new Set(["th"])],
|
|
3942
|
+
["td", /* @__PURE__ */ new Set([
|
|
3925
3943
|
"thead",
|
|
3926
3944
|
"th",
|
|
3927
3945
|
"td"
|
|
3928
3946
|
])],
|
|
3929
|
-
["body", new Set([
|
|
3947
|
+
["body", /* @__PURE__ */ new Set([
|
|
3930
3948
|
"head",
|
|
3931
3949
|
"link",
|
|
3932
3950
|
"script"
|
|
3933
3951
|
])],
|
|
3934
|
-
["a", new Set(["a"])],
|
|
3935
|
-
["li", new Set(["li"])],
|
|
3952
|
+
["a", /* @__PURE__ */ new Set(["a"])],
|
|
3953
|
+
["li", /* @__PURE__ */ new Set(["li"])],
|
|
3936
3954
|
["p", pTag],
|
|
3937
3955
|
["h1", headingTags],
|
|
3938
3956
|
["h2", headingTags],
|
|
@@ -3946,8 +3964,8 @@ const openImpliesClose = new Map([
|
|
|
3946
3964
|
["button", formTags],
|
|
3947
3965
|
["datalist", formTags],
|
|
3948
3966
|
["textarea", formTags],
|
|
3949
|
-
["option", new Set(["option"])],
|
|
3950
|
-
["optgroup", new Set(["optgroup", "option"])],
|
|
3967
|
+
["option", /* @__PURE__ */ new Set(["option"])],
|
|
3968
|
+
["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
|
|
3951
3969
|
["dd", ddtTags],
|
|
3952
3970
|
["dt", ddtTags],
|
|
3953
3971
|
["address", pTag],
|
|
@@ -3977,7 +3995,7 @@ const openImpliesClose = new Map([
|
|
|
3977
3995
|
["tfoot", tableSectionTags]
|
|
3978
3996
|
]);
|
|
3979
3997
|
const DOCUMENT_TYPE = "doctype";
|
|
3980
|
-
const voidElements = new Set([
|
|
3998
|
+
const voidElements = /* @__PURE__ */ new Set([
|
|
3981
3999
|
"area",
|
|
3982
4000
|
"base",
|
|
3983
4001
|
"basefont",
|
|
@@ -3998,14 +4016,14 @@ const voidElements = new Set([
|
|
|
3998
4016
|
"track",
|
|
3999
4017
|
"wbr"
|
|
4000
4018
|
]);
|
|
4001
|
-
const foreignContextElements = new Set(["math", "svg"]);
|
|
4019
|
+
const foreignContextElements = /* @__PURE__ */ new Set(["math", "svg"]);
|
|
4002
4020
|
/**
|
|
4003
4021
|
* Elements that can be used to integrate HTML content within foreign namespaces (e.g., SVG or MathML).
|
|
4004
4022
|
*
|
|
4005
4023
|
* Entries must use the SVG-adjusted casing (e.g. "foreignObject" not
|
|
4006
4024
|
* "foreignobject") since they are compared against adjusted tag names.
|
|
4007
4025
|
*/
|
|
4008
|
-
const htmlIntegrationElements = new Set([
|
|
4026
|
+
const htmlIntegrationElements = /* @__PURE__ */ new Set([
|
|
4009
4027
|
"mi",
|
|
4010
4028
|
"mo",
|
|
4011
4029
|
"mn",
|
|
@@ -4016,7 +4034,7 @@ const htmlIntegrationElements = new Set([
|
|
|
4016
4034
|
"desc",
|
|
4017
4035
|
"title"
|
|
4018
4036
|
]);
|
|
4019
|
-
const svgTagNameAdjustments = new Map([
|
|
4037
|
+
const svgTagNameAdjustments = /* @__PURE__ */ new Map([
|
|
4020
4038
|
["altglyph", "altGlyph"],
|
|
4021
4039
|
["altglyphdef", "altGlyphDef"],
|
|
4022
4040
|
["altglyphitem", "altGlyphItem"],
|
|
@@ -4480,7 +4498,7 @@ var Parser = class {
|
|
|
4480
4498
|
};
|
|
4481
4499
|
//#endregion
|
|
4482
4500
|
//#region src/wxml/whitespace.ts
|
|
4483
|
-
const WHITESPACE_CODES = new Set([
|
|
4501
|
+
const WHITESPACE_CODES = /* @__PURE__ */ new Set([
|
|
4484
4502
|
9,
|
|
4485
4503
|
10,
|
|
4486
4504
|
11,
|
|
@@ -4957,6 +4975,13 @@ function syncLegacyFieldsToCssOptions(ctx) {
|
|
|
4957
4975
|
injectAdditionalCssVarScope: ctx.injectAdditionalCssVarScope
|
|
4958
4976
|
};
|
|
4959
4977
|
}
|
|
4978
|
+
function applyFrameworkPlatformDefaults(ctx) {
|
|
4979
|
+
if (ctx.cssOptions?.platform || ctx.platform) {
|
|
4980
|
+
ctx.platform = normalizeFrameworkStylePlatform(ctx.cssOptions?.platform ?? ctx.platform, ctx.appType);
|
|
4981
|
+
return;
|
|
4982
|
+
}
|
|
4983
|
+
if (ctx.appType === "mpx") ctx.platform = normalizeFrameworkStylePlatform(resolveMpxPlatform().normalized, ctx.appType);
|
|
4984
|
+
}
|
|
4960
4985
|
async function clearTailwindcssRuntimeCache(tailwindRuntime, options) {
|
|
4961
4986
|
if (!tailwindRuntime) return;
|
|
4962
4987
|
const cacheOptions = tailwindRuntime.options?.cache;
|
|
@@ -4990,6 +5015,7 @@ function createInternalCompilerContext(opts) {
|
|
|
4990
5015
|
ctx.arbitraryValues = resolveUnocssBareArbitraryValues(ctx.arbitraryValues, ctx.unocss);
|
|
4991
5016
|
ctx.escapeMap = ctx.customReplaceDictionary;
|
|
4992
5017
|
syncCssOptionsToLegacyFields(ctx);
|
|
5018
|
+
applyFrameworkPlatformDefaults(ctx);
|
|
4993
5019
|
applyLoggerLevel(ctx.logLevel);
|
|
4994
5020
|
const tailwindRuntime = createTailwindcssRuntimeFromContext(ctx);
|
|
4995
5021
|
logTailwindcssTarget(tailwindRuntime, ctx.tailwindcssBasedir);
|
|
@@ -5030,4 +5056,4 @@ function getCompilerContext(opts) {
|
|
|
5030
5056
|
return withCompilerContextCache(opts, () => createInternalCompilerContext(opts));
|
|
5031
5057
|
}
|
|
5032
5058
|
//#endregion
|
|
5033
|
-
export {
|
|
5059
|
+
export { normalizeFrameworkStylePlatform as C, createDebug as S, toCustomAttributesEntities as _, vitePluginName as a, ensureRuntimeClassSet as b, createAttributeMatcher as c, JsTokenUpdater as d, _defineProperty as f, traverse as g, babelParse as h, pluginName as i, shouldSkipJsTransform as l, replaceWxml as m, normalizeStyleHandlerMajorVersion as n, Parser as o, isClassContextLiteralPath as p, resolveStyleOptionsFromContext as r, generateCode as s, getCompilerContext as t, analyzeSource as u, collectRuntimeClassSet as v, md5Hash as w, refreshTailwindRuntimeState as x, createTailwindRuntimeReadyPromise as y };
|