weapp-tailwindcss 5.1.5 → 5.1.7
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.en.md +1 -1
- package/README.md +1 -1
- package/dist/bundlers/shared/generator-css/types.d.ts +1 -0
- package/dist/bundlers/shared/generator-css/user-css.d.ts +4 -1
- package/dist/bundlers/vite/generate-bundle/finalize.d.ts +1 -0
- package/dist/bundlers/vite/generate-bundle/remembered-css-replay.d.ts +1 -0
- package/dist/bundlers/vite/processed-css-assets.d.ts +7 -0
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-assets/pipeline-helpers.d.ts +10 -0
- package/dist/{context-rrYZuUBU.mjs → context-BqeDu1Ha.mjs} +5 -4
- package/dist/{context-BziwyWy1.js → context-C7KTDlrG.js} +5 -4
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/{generator-24-HgU9F.mjs → generator-BOt2Tvx3.mjs} +2 -2
- package/dist/{generator-CilgHtxb.js → generator-DASZwC6t.js} +2 -2
- package/dist/generator.js +2 -2
- package/dist/generator.mjs +2 -2
- package/dist/{gulp-CuVsZdO9.js → gulp-D6hsaTLM.js} +4 -4
- package/dist/{gulp-ygWfmOqh.mjs → gulp-alDZryyB.mjs} +4 -4
- package/dist/gulp.js +1 -1
- package/dist/gulp.mjs +1 -1
- package/dist/{hmr-timing-BKdCeIrn.js → hmr-timing-BIr_CiPW.js} +55 -566
- package/dist/{hmr-timing-Dh_nn3w5.mjs → hmr-timing-CYwVMRol.mjs} +32 -513
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/postcss.js +2 -2
- package/dist/postcss.mjs +2 -2
- package/dist/presets.js +6 -3
- package/dist/presets.mjs +6 -3
- package/dist/rspack.js +1 -1
- package/dist/rspack.mjs +1 -1
- package/dist/runtime-branch/generator-target-env.d.ts +1 -0
- package/dist/{source-candidate-scan-signature-DATRnS1X.mjs → source-candidate-scan-signature-D97ZEXcj.mjs} +3 -3
- package/dist/{source-candidate-scan-signature-DIj9m4wB.js → source-candidate-scan-signature-Djr2Hw8y.js} +3 -3
- package/dist/{tailwindcss-C-uM4rB8.mjs → tailwindcss-DDGD90w7.mjs} +15 -2
- package/dist/{tailwindcss-BwoNQ3t8.js → tailwindcss-DPxJpRVP.js} +15 -2
- package/dist/{transform-KLD1tJdb.js → transform-CvqqZBuq.js} +1 -1
- package/dist/{transform-DHLemtaX.mjs → transform-DPPr79r2.mjs} +1 -1
- package/dist/uni-app-x/web-preflight-reset.d.ts +3 -0
- package/dist/{v4-engine-CKtsdKxK.js → v4-engine-3UmJkAY7.js} +641 -3
- package/dist/{v4-engine-BuuYDXt1.mjs → v4-engine-CYSrDVNp.mjs} +560 -6
- package/dist/{vite-Yp14HNyS.js → vite-BJRlG835.js} +636 -114
- package/dist/{vite-cH0tTMHc.mjs → vite-XxJh7Xtu.mjs} +637 -115
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.js +3078 -2907
- package/dist/{webpack-DN3tgLbF.js → webpack-BxBOMUtY.js} +286 -47
- package/dist/{webpack-DBhmJ-_P.mjs → webpack-eN8WzIT-.mjs} +280 -41
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +3 -3
package/README.en.md
CHANGED
|
@@ -8,4 +8,4 @@ This is the core package that brings Tailwind CSS to mini program ecosystems, ha
|
|
|
8
8
|
|
|
9
9
|
For setup guides, configuration references, and framework examples, see the [official weapp-tailwindcss documentation](https://tw.icebreaker.top).
|
|
10
10
|
|
|
11
|
-
For Tailwind CSS 4 projects, the entry CSS must still be imported by the application. Configure `cssEntries`
|
|
11
|
+
For Tailwind CSS 4 projects, the entry CSS must still be imported by the application. Configure `cssEntries` explicitly with absolute paths resolved from the project root, but do not treat it as a replacement for importing the CSS entry into the build graph.
|
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 需要同时满足两点:在项目里被实际引入,并通过 `cssEntries` 显式传给插件用于稳定识别。`cssEntries`
|
|
11
|
+
Tailwind CSS 4 项目中,入口 CSS 需要同时满足两点:在项目里被实际引入,并通过 `cssEntries` 显式传给插件用于稳定识别。`cssEntries` 应使用项目根目录解析出的绝对路径;它不是替代 import 的开关。
|
|
@@ -18,6 +18,7 @@ export interface GenerateCssByGeneratorOptions {
|
|
|
18
18
|
sourceCandidates?: Set<string> | undefined;
|
|
19
19
|
styleHandler: InternalUserDefinedOptions['styleHandler'];
|
|
20
20
|
debug: (format: string, ...args: unknown[]) => void;
|
|
21
|
+
generatorPlatform?: string | undefined;
|
|
21
22
|
userRawSource?: string | undefined;
|
|
22
23
|
userRawSourceProcessed?: boolean | undefined;
|
|
23
24
|
forceGenerator?: boolean | undefined;
|
|
@@ -15,7 +15,10 @@ export declare function extractGeneratedCssForUserLayerSelectors(css: string, us
|
|
|
15
15
|
layer: string;
|
|
16
16
|
rest: string;
|
|
17
17
|
};
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function normalizeEmptyTailwindCustomVariants(css: string): string;
|
|
19
|
+
export declare function filterApplyOnlyGeneratedCss(css: string, source: string, options?: {
|
|
20
|
+
preserveVariables?: boolean | undefined;
|
|
21
|
+
}): string;
|
|
19
22
|
export declare function shouldFilterApplyOnlyGeneratedCss(_majorVersion: number | undefined, target: string, source: string, options: {
|
|
20
23
|
hasGeneratedCss: boolean;
|
|
21
24
|
hasGeneratedMarkers: boolean;
|
|
@@ -54,6 +54,7 @@ interface FinalizeGenerateBundleOptions {
|
|
|
54
54
|
tasks: Promise<void>[];
|
|
55
55
|
timingDetails: Record<string, number>;
|
|
56
56
|
transformRuntime: Set<string>;
|
|
57
|
+
transformWebTargetCss?: ((css: string, file: string) => string) | undefined;
|
|
57
58
|
useIncrementalMode: boolean;
|
|
58
59
|
}
|
|
59
60
|
export declare function normalizeTaroRootImportShellAssets(bundle: Record<string, OutputAsset | OutputChunk>, options: Pick<GenerateBundleContext['opts'], 'appType' | 'cssMatcher'> & {
|
|
@@ -20,6 +20,7 @@ interface ProcessRememberedCssReplayOptions {
|
|
|
20
20
|
defaultStyleOutputExtension: string;
|
|
21
21
|
emitOrReplayCssAsset: (fileName: string, source: string) => OutputAsset | undefined;
|
|
22
22
|
generatorRuntime: Set<string>;
|
|
23
|
+
generatorPlatform?: string | undefined;
|
|
23
24
|
getCssHandlerOptions: (file: string) => ReturnType<ReturnType<typeof import('./css-handler-options').createCssHandlerOptionsCache>['getCssHandlerOptions']>;
|
|
24
25
|
getCssUserHandlerOptions: (file: string) => ReturnType<ReturnType<typeof import('./css-handler-options').createCssHandlerOptionsCache>['getCssUserHandlerOptions']>;
|
|
25
26
|
getRememberedCssSignature?: ((file: string) => string | undefined) | undefined;
|
|
@@ -42,12 +42,19 @@ interface InjectViteProcessedCssAssetOptions {
|
|
|
42
42
|
injectIntoMain?: boolean | undefined;
|
|
43
43
|
outputFile?: string | undefined;
|
|
44
44
|
}) => boolean) | undefined;
|
|
45
|
+
transformCss?: ((css: string, file: string) => string) | undefined;
|
|
45
46
|
debug?: ((format: string, ...args: unknown[]) => void) | undefined;
|
|
46
47
|
onUpdate?: ((file: string, original: string, generated: string) => void) | undefined;
|
|
47
48
|
}
|
|
49
|
+
export declare function removeDuplicateUnlinkedRootCssAssetsReferencedByHtml(bundle: OutputBundle, options?: {
|
|
50
|
+
debug?: ((format: string, ...args: unknown[]) => void) | undefined;
|
|
51
|
+
}): number;
|
|
52
|
+
export declare function removeScopedTailwindPreflightCss(css: string): string;
|
|
53
|
+
export declare function removeCssCoveredByRootStyleBundleSources(bundle: OutputBundle, file: string, css: string): string;
|
|
48
54
|
export declare function removeCssCoveredByRootStyleAssets(bundle: OutputBundle, options: {
|
|
49
55
|
cssMatcher: (file: string) => boolean;
|
|
50
56
|
debug?: ((format: string, ...args: unknown[]) => void) | undefined;
|
|
57
|
+
includeTailwindGeneratedCssAssets?: boolean | undefined;
|
|
51
58
|
isViteProcessedCssAsset?: CssAssetMarkerMatcher | undefined;
|
|
52
59
|
onUpdate?: ((file: string, original: string, generated: string) => void) | undefined;
|
|
53
60
|
recordCssAssetResult?: CssAssetResultRecorder | undefined;
|
|
@@ -35,6 +35,13 @@ export declare function pruneMapToMaxSize<Key, Value>(map: Map<Key, Value>, maxS
|
|
|
35
35
|
export declare function stripTrailingLineWhitespace(source: string): string;
|
|
36
36
|
export declare function pruneWebpackCssHandlerOptionCaches(cssHandlerOptionsCache: Map<string, WebpackCssHandlerOptions>, cssUserHandlerOptionsCache: Map<string, WebpackCssHandlerOptions>, activeCssFiles: Set<string>): void;
|
|
37
37
|
export declare function resolveWebpackGeneratorRawSource(rawSource: string, cssHandlerOptions: WebpackCssHandlerOptions): string;
|
|
38
|
+
export declare function shouldConsumeWebpackLoaderGeneratedCss(options: {
|
|
39
|
+
hasBundlerGeneratedCssMarker: boolean;
|
|
40
|
+
loaderGeneratedClassSet?: Set<string> | undefined;
|
|
41
|
+
sourceCandidates?: Set<string> | undefined;
|
|
42
|
+
shouldRegenerateExplicitTailwindV4CssSource: boolean;
|
|
43
|
+
watchMode?: boolean | undefined;
|
|
44
|
+
}): boolean;
|
|
38
45
|
export interface WebpackGeneratorUserCssSource {
|
|
39
46
|
css: string;
|
|
40
47
|
processed: boolean;
|
|
@@ -49,6 +56,7 @@ export declare function shouldUseWebpackAssetAsGeneratorUserCss(rawSource: strin
|
|
|
49
56
|
processed?: boolean | undefined;
|
|
50
57
|
}): boolean;
|
|
51
58
|
export declare function collectWebpackAssetUserCssMarkers(source: string): Set<string>;
|
|
59
|
+
export declare function collectWebpackBareSelectorUserCss(source: string): string;
|
|
52
60
|
export declare function parseWebpackCssLayerNames(params: string): string[];
|
|
53
61
|
export declare function removeWebpackTailwindGeneratedAssetCss(source: string): string;
|
|
54
62
|
export declare function collectWebpackCssRuleIdentityMarkers(source: string): Set<string>;
|
|
@@ -58,6 +66,8 @@ export declare function hasAdditionalWebpackAssetUserCssMarkers(rawSource: strin
|
|
|
58
66
|
export declare function hasWebpackTailwindSourceDirectives(source: string | undefined): boolean;
|
|
59
67
|
export declare function isWebpackTailwindImportRequest(request: string | undefined): boolean | undefined;
|
|
60
68
|
export declare function removeWebpackGeneratorNonTailwindImports(source: string | undefined): string | undefined;
|
|
69
|
+
export declare function removeWebpackUserCssFallbackImports(source: string): string;
|
|
70
|
+
export declare function normalizeWebpackUserCssFallbackSource(source: string): string;
|
|
61
71
|
export declare function isWebpackCssSourceRepresentedInAsset(rawSource: string, sourceCss: string | undefined): boolean;
|
|
62
72
|
export declare function createWebpackGeneratorCssSource(file: string | undefined, css: string | undefined): {
|
|
63
73
|
file: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveMpxPlatform } from "./framework.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { a as resolveGeneratorRuntimeBranch, i as normalizeWeappTailwindcssGeneratorOptions } from "./generator-
|
|
2
|
+
import { At as resolveValidTailwindV4Candidates$1, Et as omitUndefined, ct as createTailwindV4Engine$1, kt as loadTailwindV4DesignSystem, n as resolveTailwindV4SourceFromRuntime, wt as resolveCssMacroTailwindV4Source, y as resolveBooleanObjectOption } from "./v4-engine-CYSrDVNp.mjs";
|
|
3
|
+
import { a as resolveGeneratorRuntimeBranch, i as normalizeWeappTailwindcssGeneratorOptions } from "./generator-BOt2Tvx3.mjs";
|
|
4
4
|
import { i as isMap, n as defuOverrideArray } from "./utils-DodxWHGz.mjs";
|
|
5
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-9B6aMyZb.mjs";
|
|
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-
|
|
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-DDGD90w7.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import process from "node:process";
|
|
@@ -4937,7 +4937,8 @@ function applyLoggerLevel(logLevel) {
|
|
|
4937
4937
|
function resolveContextCssPreflight(opts, ctx, majorVersion) {
|
|
4938
4938
|
const userCssPreflight = opts?.cssOptions?.cssPreflight ?? opts?.cssPreflight;
|
|
4939
4939
|
const cssPreflight = resolveDefaultCssPreflight(userCssPreflight, majorVersion);
|
|
4940
|
-
|
|
4940
|
+
const shouldUseUniAppXPreflight = ctx.appType === "uni-app-x" || resolveUniAppXOptions(ctx.uniAppX).enabled;
|
|
4941
|
+
if (cssPreflight === false || !shouldUseUniAppXPreflight) return cssPreflight;
|
|
4941
4942
|
const userCssPreflightObject = userCssPreflight && typeof userCssPreflight === "object" ? userCssPreflight : void 0;
|
|
4942
4943
|
return {
|
|
4943
4944
|
...cssPreflight,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-emK7D4bc.js");
|
|
2
2
|
const require_framework = require("./framework.js");
|
|
3
|
-
const require_v4_engine = require("./v4-engine-
|
|
4
|
-
const require_generator = require("./generator-
|
|
3
|
+
const require_v4_engine = require("./v4-engine-3UmJkAY7.js");
|
|
4
|
+
const require_generator = require("./generator-DASZwC6t.js");
|
|
5
5
|
require("./utils-D3h8j7Mk.js");
|
|
6
6
|
const require_defaults = require("./defaults-nsf4VNMX.js");
|
|
7
|
-
const require_tailwindcss = require("./tailwindcss-
|
|
7
|
+
const require_tailwindcss = require("./tailwindcss-DPxJpRVP.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_rolldown_runtime.__toESM(node_path);
|
|
10
10
|
let node_process = require("node:process");
|
|
@@ -4945,7 +4945,8 @@ function applyLoggerLevel(logLevel) {
|
|
|
4945
4945
|
function resolveContextCssPreflight(opts, ctx, majorVersion) {
|
|
4946
4946
|
const userCssPreflight = opts?.cssOptions?.cssPreflight ?? opts?.cssPreflight;
|
|
4947
4947
|
const cssPreflight = require_defaults.resolveDefaultCssPreflight(userCssPreflight, majorVersion);
|
|
4948
|
-
|
|
4948
|
+
const shouldUseUniAppXPreflight = ctx.appType === "uni-app-x" || require_tailwindcss.resolveUniAppXOptions(ctx.uniAppX).enabled;
|
|
4949
|
+
if (cssPreflight === false || !shouldUseUniAppXPreflight) return cssPreflight;
|
|
4949
4950
|
const userCssPreflightObject = userCssPreflight && typeof userCssPreflight === "object" ? userCssPreflight : void 0;
|
|
4950
4951
|
return {
|
|
4951
4952
|
...cssPreflight,
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_context = require("./context-
|
|
2
|
+
const require_context = require("./context-C7KTDlrG.js");
|
|
3
3
|
let _weapp_tailwindcss_shared = require("@weapp-tailwindcss/shared");
|
|
4
4
|
//#region src/core.ts
|
|
5
5
|
const DEFAULT_MAIN_CHUNK_STYLE_OPTIONS = Object.freeze({ isMainChunk: true });
|
package/dist/core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as ensureRuntimeClassSet, l as shouldSkipJsTransform, t as getCompilerContext, y as createTailwindRuntimeReadyPromise } from "./context-
|
|
1
|
+
import { b as ensureRuntimeClassSet, l as shouldSkipJsTransform, t as getCompilerContext, y as createTailwindRuntimeReadyPromise } from "./context-BqeDu1Ha.mjs";
|
|
2
2
|
import { defuOverrideArray } from "@weapp-tailwindcss/shared";
|
|
3
3
|
//#region src/core.ts
|
|
4
4
|
const DEFAULT_MAIN_CHUNK_STYLE_OPTIONS = Object.freeze({ isMainChunk: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dt as inferGeneratorTargetFromEnv, Ot as shouldUseUniAppViteWebViewGeneratorTarget, ct as createTailwindV4Engine, n as resolveTailwindV4SourceFromRuntime } from "./v4-engine-CYSrDVNp.mjs";
|
|
2
2
|
import { o as resolveUniUtsPlatform } from "./utils-DodxWHGz.mjs";
|
|
3
3
|
//#region src/runtime-branch/create-branch.ts
|
|
4
4
|
function createRuntimeBranch(base, platformFamily, options) {
|
|
@@ -88,7 +88,7 @@ function shouldUseNativeAppCssBranch(branch) {
|
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region src/generator/options.ts
|
|
90
90
|
function normalizeWeappTailwindcssGeneratorOptions(options, context = {}) {
|
|
91
|
-
const target = options?.target ?? inferGeneratorTargetFromEnv();
|
|
91
|
+
const target = options?.target ?? (shouldUseUniAppViteWebViewGeneratorTarget(context.appType, context.platform) ? "web" : inferGeneratorTargetFromEnv());
|
|
92
92
|
const branch = resolveRuntimeBranch({
|
|
93
93
|
...context,
|
|
94
94
|
generatorTarget: target
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_v4_engine = require("./v4-engine-
|
|
1
|
+
const require_v4_engine = require("./v4-engine-3UmJkAY7.js");
|
|
2
2
|
const require_utils = require("./utils-D3h8j7Mk.js");
|
|
3
3
|
//#region src/runtime-branch/create-branch.ts
|
|
4
4
|
function createRuntimeBranch(base, platformFamily, options) {
|
|
@@ -88,7 +88,7 @@ function shouldUseNativeAppCssBranch(branch) {
|
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region src/generator/options.ts
|
|
90
90
|
function normalizeWeappTailwindcssGeneratorOptions(options, context = {}) {
|
|
91
|
-
const target = options?.target ?? require_v4_engine.inferGeneratorTargetFromEnv();
|
|
91
|
+
const target = options?.target ?? (require_v4_engine.shouldUseUniAppViteWebViewGeneratorTarget(context.appType, context.platform) ? "web" : require_v4_engine.inferGeneratorTargetFromEnv());
|
|
92
92
|
const branch = resolveRuntimeBranch({
|
|
93
93
|
...context,
|
|
94
94
|
generatorTarget: target
|
package/dist/generator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_v4_engine = require("./v4-engine-
|
|
3
|
-
const require_generator = require("./generator-
|
|
2
|
+
const require_v4_engine = require("./v4-engine-3UmJkAY7.js");
|
|
3
|
+
const require_generator = require("./generator-DASZwC6t.js");
|
|
4
4
|
exports.createWeappTailwindcssGenerator = require_generator.createWeappTailwindcssGenerator;
|
|
5
5
|
exports.createWeappTailwindcssGeneratorFromRuntime = require_generator.createWeappTailwindcssGeneratorFromRuntime;
|
|
6
6
|
exports.normalizeWeappTailwindcssGeneratorOptions = require_generator.normalizeWeappTailwindcssGeneratorOptions;
|
package/dist/generator.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as normalizeWeappTailwindcssGeneratorOptions, n as createWeappTailwindcssGeneratorFromRuntime, r as resolveTailwindSourceFromRuntime, t as createWeappTailwindcssGenerator } from "./generator-
|
|
1
|
+
import { dt as transformTailwindV4CssToWeapp, i as resolveTailwindV4SourceOptionsFromRuntime, n as resolveTailwindV4SourceFromRuntime, r as resolveTailwindV4SourceFromRuntimeOptions, t as resolveTailwindV4Source, ut as transformTailwindV4CssByTarget } from "./v4-engine-CYSrDVNp.mjs";
|
|
2
|
+
import { i as normalizeWeappTailwindcssGeneratorOptions, n as createWeappTailwindcssGeneratorFromRuntime, r as resolveTailwindSourceFromRuntime, t as createWeappTailwindcssGenerator } from "./generator-BOt2Tvx3.mjs";
|
|
3
3
|
export { createWeappTailwindcssGenerator, createWeappTailwindcssGeneratorFromRuntime, normalizeWeappTailwindcssGeneratorOptions, resolveTailwindSourceFromRuntime, resolveTailwindV4Source, resolveTailwindV4SourceFromRuntime, resolveTailwindV4SourceFromRuntimeOptions, resolveTailwindV4SourceOptionsFromRuntime, transformTailwindV4CssByTarget, transformTailwindV4CssToWeapp };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-emK7D4bc.js");
|
|
2
|
-
const require_v4_engine = require("./v4-engine-
|
|
3
|
-
const require_context = require("./context-
|
|
4
|
-
const require_tailwindcss = require("./tailwindcss-
|
|
5
|
-
const require_hmr_timing = require("./hmr-timing-
|
|
2
|
+
const require_v4_engine = require("./v4-engine-3UmJkAY7.js");
|
|
3
|
+
const require_context = require("./context-C7KTDlrG.js");
|
|
4
|
+
const require_tailwindcss = require("./tailwindcss-DPxJpRVP.js");
|
|
5
|
+
const require_hmr_timing = require("./hmr-timing-BIr_CiPW.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_rolldown_runtime.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as createDebug, b as ensureRuntimeClassSet, l as shouldSkipJsTransform, n as normalizeStyleHandlerMajorVersion, t as getCompilerContext, y as createTailwindRuntimeReadyPromise } from "./context-
|
|
3
|
-
import { l as getRuntimeClassSetSignature, p as resolveViteSourceScanEntries } from "./tailwindcss-
|
|
4
|
-
import {
|
|
1
|
+
import { G as normalizeTailwindSourceForGenerator, U as normalizeTailwindConfigDirectives, V as hasTailwindRootDirectives, lt as getTailwindV4IncrementalGenerateCacheStats, o as hasConfiguredTailwindV4CssRoots, s as upsertTailwindV4CssSource, st as prependConfigDirective } from "./v4-engine-CYSrDVNp.mjs";
|
|
2
|
+
import { S as createDebug, b as ensureRuntimeClassSet, l as shouldSkipJsTransform, n as normalizeStyleHandlerMajorVersion, t as getCompilerContext, y as createTailwindRuntimeReadyPromise } from "./context-BqeDu1Ha.mjs";
|
|
3
|
+
import { l as getRuntimeClassSetSignature, p as resolveViteSourceScanEntries } from "./tailwindcss-DDGD90w7.mjs";
|
|
4
|
+
import { E as createCssTokenSourceMap, O as processCachedTask, T as createCssSourceTraceCacheSignature, n as emitHmrTiming, r as createSourceCandidateCollector, s as createBundleRuntimeClassSetManager, u as generateCssByGenerator, v as rewriteLocalCssImportRequestsForOutput, w as annotateCssSourceTrace, y as splitLocalCssImports } from "./hmr-timing-CYwVMRol.mjs";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import process from "node:process";
|
package/dist/gulp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_gulp = require("./gulp-
|
|
2
|
+
const require_gulp = require("./gulp-D6hsaTLM.js");
|
|
3
3
|
exports.WeappTailwindcss = require_gulp.createPlugins;
|
|
4
4
|
exports.createPlugins = require_gulp.createPlugins;
|
|
5
5
|
exports.weappTailwindcss = require_gulp.createPlugins;
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createPlugins } from "./gulp-
|
|
1
|
+
import { t as createPlugins } from "./gulp-alDZryyB.mjs";
|
|
2
2
|
export { createPlugins as WeappTailwindcss, createPlugins, createPlugins as weappTailwindcss };
|