weapp-tailwindcss 5.0.0-next.25 → 5.0.0-next.27
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/{auto-B11j1XiD.js → auto-DP-qtQzE.js} +5 -7
- package/dist/{auto-AduSz49t.mjs → auto-XyKTOP7B.mjs} +4 -6
- package/dist/{bundle-state-CBouNDzi.mjs → bundle-state-7DRnJcJp.mjs} +1 -2
- package/dist/{bundle-state-BY7PWHAc.js → bundle-state-Nn90UQDa.js} +3 -4
- package/dist/bundlers/vite/index.d.ts +5 -2
- package/dist/bundlers/vite/serve-css-generation.d.ts +11 -0
- package/dist/bundlers/vite/source-candidates.d.ts +3 -0
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v5.d.ts +1 -1
- package/dist/cli.js +9 -11
- package/dist/cli.mjs +9 -11
- package/dist/core.js +1 -2
- package/dist/core.mjs +1 -1
- package/dist/css-macro/postcss.js +1 -1
- package/dist/css-macro/postcss.mjs +1 -1
- package/dist/css-macro.js +4 -4
- package/dist/css-macro.mjs +3 -3
- package/dist/{defaults-B-1EEhdL.mjs → defaults-8xrgzxFY.mjs} +1 -1
- package/dist/{defaults-C10hYUch.js → defaults-C5w9OOrj.js} +1 -2
- package/dist/defaults.js +1 -1
- package/dist/defaults.mjs +1 -1
- package/dist/{generator-CtqzN9L-.mjs → generator-CbpjNxJh.mjs} +1 -1
- package/dist/{generator-DTPePQZ9.js → generator-DRNbzjx5.js} +2 -2
- package/dist/generator.js +2 -3
- package/dist/generator.mjs +2 -2
- package/dist/gulp.js +6 -6
- package/dist/gulp.mjs +5 -5
- package/dist/{incremental-runtime-class-set-CERcE0fP.js → incremental-runtime-class-set-BQPhkSov.js} +48 -14
- package/dist/{incremental-runtime-class-set-BlJ86j-A.mjs → incremental-runtime-class-set-C4JgSgRY.mjs} +48 -14
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -6
- package/dist/index.mjs +5 -5
- package/dist/{postcss-BAO9tGi5.js → postcss-Br1eOaFd.js} +3 -3
- package/dist/{postcss-DYktK8_T.mjs → postcss-C7BMYpEF.mjs} +4 -4
- package/dist/{postcss-DXkxsPNg.js → postcss-CiYLsqZn.js} +4 -4
- package/dist/{postcss-CYPHxj7a.mjs → postcss-YetooK6S.mjs} +2 -2
- package/dist/postcss-html-transform.js +1 -1
- package/dist/postcss.js +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/{precheck-ezN3ovAq.js → precheck-B6xigu7s.js} +2005 -13
- package/dist/{precheck-B4CpMt_w.mjs → precheck-uG16Cqaj.mjs} +1998 -12
- package/dist/presets/index.d.ts +1 -0
- package/dist/presets.js +19 -6
- package/dist/presets.mjs +17 -6
- package/dist/reset.js +1 -1
- package/dist/{source-candidates-DoyOltpZ.mjs → source-candidates-CX2ozpKM.mjs} +49 -7
- package/dist/{source-candidates-0jPRIPmC.js → source-candidates-DeK5b9i9.js} +50 -8
- package/dist/{tailwindcss-ujlr9Iad.mjs → tailwindcss-C7dJHZ0G.mjs} +2 -2
- package/dist/{tailwindcss-nQetCaPp.js → tailwindcss-DEEtJf4u.js} +3 -3
- package/dist/{utils-CSA174-I.js → utils-nta4tfFs.js} +1 -1
- package/dist/{v3-engine-Bbsrez2w.js → v3-engine-B_33V3Lu.js} +12 -4
- package/dist/{v3-engine-COw08vWd.mjs → v3-engine-DcvCCHfs.mjs} +11 -3
- package/dist/{vite-DE8Vfzal.js → vite-Bg18XZZc.js} +169 -22
- package/dist/{vite-hZsQAY1a.mjs → vite-DOmiMftw.mjs} +168 -21
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.js +53 -22
- package/dist/weapp-tw-runtime-classset-loader.js +1 -1
- package/dist/{webpack-c2WJnCJI.mjs → webpack-BdrjJf41.mjs} +17 -13
- package/dist/{webpack-CTJcw_sX.js → webpack-BzPDhzSz.js} +18 -14
- package/dist/webpack.d.ts +1 -3
- package/dist/webpack.js +3 -4
- package/dist/webpack.mjs +2 -2
- package/package.json +9 -7
- /package/dist/{chunk-8l464Juk.js → chunk-D6vf50IK.js} +0 -0
- /package/dist/{logger-Dr7IvyH2.mjs → logger-BNzxZbZj.mjs} +0 -0
- /package/dist/{logger-Cdzl3p8j.js → logger-TlKT3xmR.js} +0 -0
- /package/dist/{runtime-registry-CdCV3Opt.js → runtime-registry-DpcR3IHI.js} +0 -0
- /package/dist/{utils-B2SJgA1L.mjs → utils-DsaS975I.mjs} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as createDebug, D as loadTailwindV4DesignSystem, E as filterUnsupportedMiniProgramTailwindV4Candidates, R as resolveTailwindV4CssSourceBase, S as resolveTailwindV4SourceOptionsFromPatcher, h as resolveTailwindV4EntriesFromCss, l as getRuntimeClassSetSignature, n as resolveTailwindV3SourceFromPatcher, q as omitUndefined, r as resolveTailwindV3SourceOptionsFromPatcher, t as resolveTailwindV3Source, x as resolveTailwindV4SourceFromPatcher, y as resolveTailwindV4Source$1 } from "./v3-engine-
|
|
2
|
-
import { i as normalizeWeappTailwindcssGeneratorOptions, t as createWeappTailwindcssGenerator } from "./generator-
|
|
3
|
-
import {
|
|
1
|
+
import { B as createDebug, D as loadTailwindV4DesignSystem, E as filterUnsupportedMiniProgramTailwindV4Candidates, R as resolveTailwindV4CssSourceBase, S as resolveTailwindV4SourceOptionsFromPatcher, h as resolveTailwindV4EntriesFromCss, l as getRuntimeClassSetSignature, n as resolveTailwindV3SourceFromPatcher, q as omitUndefined, r as resolveTailwindV3SourceOptionsFromPatcher, t as resolveTailwindV3Source, x as resolveTailwindV4SourceFromPatcher, y as resolveTailwindV4Source$1 } from "./v3-engine-DcvCCHfs.mjs";
|
|
2
|
+
import { i as normalizeWeappTailwindcssGeneratorOptions, t as createWeappTailwindcssGenerator } from "./generator-CbpjNxJh.mjs";
|
|
3
|
+
import { p as replaceWxml, r as resolveStyleOptionsFromContext } from "./precheck-uG16Cqaj.mjs";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import postcss from "postcss";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import process from "node:process";
|
|
8
|
-
import { extractRawCandidatesWithPositions, extractValidCandidates } from "tailwindcss-patch";
|
|
8
|
+
import { extractRawCandidatesWithPositions, extractSourceCandidates, extractValidCandidates } from "tailwindcss-patch";
|
|
9
9
|
import { finalizeMiniProgramCss, removeUnsupportedMiniProgramAtRules } from "@weapp-tailwindcss/postcss";
|
|
10
10
|
//#region src/bundlers/shared/generator-css/markers.ts
|
|
11
11
|
const TAILWIND_V4_BANNER_RE = /\/\*!\s*tailwindcss v4\./;
|
|
@@ -1308,6 +1308,16 @@ function mergeScopedRuntimeWithCurrentRuntime(scopedRuntime, runtime, options) {
|
|
|
1308
1308
|
function shouldIsolateMatchedCssSource(source, sourceEntries) {
|
|
1309
1309
|
return Boolean(source.__weappTailwindcssMeta?.matchedCssSourceFile && sourceEntries !== void 0);
|
|
1310
1310
|
}
|
|
1311
|
+
function shouldScanTailwindV4Sources(majorVersion, target, generatorRuntime, isolateCssSource) {
|
|
1312
|
+
if (majorVersion !== 4 || isolateCssSource) return false;
|
|
1313
|
+
return target === "web" || generatorRuntime.size === 0;
|
|
1314
|
+
}
|
|
1315
|
+
function shouldAppendWebBundleCssFallback(target, options) {
|
|
1316
|
+
return target === "web" && !options.hasMatchedCssSourceFile && !options.hasSourceDirectives;
|
|
1317
|
+
}
|
|
1318
|
+
function isEmptyCssSourceOrderParts(parts) {
|
|
1319
|
+
return parts.before.trim().length === 0 && parts.after.trim().length === 0;
|
|
1320
|
+
}
|
|
1311
1321
|
function resolveGeneratorStyleOptions(opts, cssHandlerOptions, generatorStyleOptions) {
|
|
1312
1322
|
const preflightStyleOptions = {
|
|
1313
1323
|
cssPreflight: opts.cssPreflight,
|
|
@@ -1447,9 +1457,11 @@ async function generateCssByGenerator(options) {
|
|
|
1447
1457
|
if (!SUPPORTED_GENERATOR_MAJOR_VERSIONS.has(majorVersion ?? 0) || !shouldGenerateCurrentCss || majorVersion === 3 && !hasSourceDirectives && !hasGeneratedCss && !hasGeneratedMarkers) return;
|
|
1448
1458
|
try {
|
|
1449
1459
|
await runtimeState.readyPromise;
|
|
1460
|
+
const currentCssCandidates = majorVersion === 4 ? await extractSourceCandidates(effectiveRawSource, "css") : [];
|
|
1461
|
+
const runtimeWithCurrentCss = currentCssCandidates.length > 0 ? new Set([...runtime, ...currentCssCandidates]) : runtime;
|
|
1450
1462
|
const sources = await resolveGeneratorSources(majorVersion, runtimeState, effectiveRawSource, file, cssHandlerOptions, generatorOptions, {
|
|
1451
1463
|
getSourceCandidatesForEntries,
|
|
1452
|
-
runtime
|
|
1464
|
+
runtime: runtimeWithCurrentCss
|
|
1453
1465
|
});
|
|
1454
1466
|
const generatorStyleOptions = resolveGeneratorStyleOptions(opts, cssHandlerOptions, generatorOptions.styleOptions);
|
|
1455
1467
|
const configuredContainerCompat = hasConfiguredContainerCompatSources(sources);
|
|
@@ -1458,15 +1470,15 @@ async function generateCssByGenerator(options) {
|
|
|
1458
1470
|
const sourceEntries = getSourceCandidatesForEntries && majorVersion === 4 ? await resolveGeneratorSourceEntries(source, runtimeState) : void 0;
|
|
1459
1471
|
const scopedRuntime = sourceEntries ? getSourceCandidatesForEntries?.(sourceEntries) : void 0;
|
|
1460
1472
|
const isolateCssSource = shouldIsolateMatchedCssSource(source, sourceEntries);
|
|
1461
|
-
const sourceRuntime = scopedRuntime && (scopedRuntime.size > 0 || isolateCssSource) ? mergeScopedRuntimeWithCurrentRuntime(scopedRuntime,
|
|
1473
|
+
const sourceRuntime = scopedRuntime && (scopedRuntime.size > 0 || isolateCssSource) ? mergeScopedRuntimeWithCurrentRuntime(scopedRuntime, runtimeWithCurrentCss, {
|
|
1462
1474
|
cssHandlerOptions,
|
|
1463
1475
|
isolateCssSource
|
|
1464
|
-
}) :
|
|
1476
|
+
}) : runtimeWithCurrentCss;
|
|
1465
1477
|
const generatorRuntime = majorVersion === 4 && generatorOptions.target === "weapp" ? filterUnsupportedMiniProgramTailwindV4Candidates(sourceRuntime) : sourceRuntime;
|
|
1466
1478
|
return generator.generate({
|
|
1467
1479
|
candidates: generatorRuntime,
|
|
1468
1480
|
incrementalCache: majorVersion === 3 || majorVersion === 4,
|
|
1469
|
-
scanSources: majorVersion
|
|
1481
|
+
scanSources: shouldScanTailwindV4Sources(majorVersion, generatorOptions.target, generatorRuntime, isolateCssSource),
|
|
1470
1482
|
styleOptions: generatorStyleOptions,
|
|
1471
1483
|
tailwindcssV3Compatibility: generatorOptions.tailwindcssV3Compatibility,
|
|
1472
1484
|
target: generatorOptions.target
|
|
@@ -1512,6 +1524,13 @@ async function generateCssByGenerator(options) {
|
|
|
1512
1524
|
const beforeUserCss = await transformGeneratorUserCss(orderedExtraCss.before, userCssOptions);
|
|
1513
1525
|
const afterUserCss = await transformGeneratorUserCss(orderedExtraCss.after, userCssOptions);
|
|
1514
1526
|
css = createCssSourceOrderAppend(createCssSourceOrderAppend(beforeUserCss, css), afterUserCss);
|
|
1527
|
+
if (isEmptyCssSourceOrderParts(orderedExtraCss) && shouldAppendWebBundleCssFallback(generated.target, {
|
|
1528
|
+
hasSourceDirectives,
|
|
1529
|
+
hasMatchedCssSourceFile
|
|
1530
|
+
})) {
|
|
1531
|
+
const userCss = await transformGeneratorUserCss(effectiveRawSource, userCssOptions);
|
|
1532
|
+
css = createCssSourceOrderAppend(css, userCss);
|
|
1533
|
+
}
|
|
1515
1534
|
if (generated.target === "weapp") {
|
|
1516
1535
|
css = await appendLegacyCompatCss(css, effectiveRawSource, generated.target, styleHandler, cssHandlerOptions, generatorStyleOptions);
|
|
1517
1536
|
css = await appendLegacyContainerCompatCss(css, effectiveRawSource, file, runtime, configuredContainerCompat, generated.target, styleHandler, cssHandlerOptions, generatorStyleOptions);
|
|
@@ -1526,12 +1545,27 @@ async function generateCssByGenerator(options) {
|
|
|
1526
1545
|
debug("tailwind direct css generation prefix mismatch, append transformed bundle css %s", file);
|
|
1527
1546
|
let css = stripTailwindBanner(generated.css);
|
|
1528
1547
|
if (generated.target === "weapp") css = inheritLegacyUnitConvertedDeclarations(css, effectiveRawSource);
|
|
1529
|
-
if (hasMatchedCssSourceFile || generated.target === "web")
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1548
|
+
if (hasMatchedCssSourceFile || generated.target === "web") {
|
|
1549
|
+
if (shouldAppendWebBundleCssFallback(generated.target, {
|
|
1550
|
+
hasSourceDirectives,
|
|
1551
|
+
hasMatchedCssSourceFile
|
|
1552
|
+
})) {
|
|
1553
|
+
const userCss = await transformGeneratorUserCss(effectiveRawSource, {
|
|
1554
|
+
generatorTarget: generated.target,
|
|
1555
|
+
generatorStyleOptions,
|
|
1556
|
+
cssUserHandlerOptions,
|
|
1557
|
+
styleHandler,
|
|
1558
|
+
importFallback: generatorOptions.importFallback
|
|
1559
|
+
});
|
|
1560
|
+
css = createCssSourceOrderAppend(css, userCss);
|
|
1561
|
+
}
|
|
1562
|
+
return {
|
|
1563
|
+
css: finalizeMiniProgramGeneratorCss(css, generated.target, majorVersion, opts.cssPreflight),
|
|
1564
|
+
target: generated.target,
|
|
1565
|
+
source: "generator",
|
|
1566
|
+
dependencies: generated.dependencies
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1535
1569
|
css = await appendLegacyCompatCss(css, effectiveRawSource, generated.target, styleHandler, cssHandlerOptions, generatorStyleOptions);
|
|
1536
1570
|
css = await appendLegacyContainerCompatCss(css, effectiveRawSource, file, runtime, configuredContainerCompat, generated.target, styleHandler, cssHandlerOptions, generatorStyleOptions);
|
|
1537
1571
|
return {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export { weappTailwindcssPostcssPlugin } from './postcss';
|
|
|
5
5
|
export type { WeappTailwindcssPostcssPluginOptions } from './postcss';
|
|
6
6
|
export type * from './types';
|
|
7
7
|
export { WeappTailwindcss } from './vite';
|
|
8
|
-
export {
|
|
8
|
+
export { weappTailwindcssPackageDir } from './webpack';
|
|
9
9
|
export { unitConversionComposeRules, unitConversionPresets, } from '@weapp-tailwindcss/postcss';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./
|
|
3
|
-
const require_generator = require("./generator-DTPePQZ9.js");
|
|
2
|
+
const require_generator = require("./generator-DRNbzjx5.js");
|
|
4
3
|
const require_gulp = require("./gulp.js");
|
|
5
|
-
const require_postcss = require("./postcss-
|
|
6
|
-
const require_vite = require("./vite-
|
|
7
|
-
const require_webpack = require("./webpack-
|
|
4
|
+
const require_postcss = require("./postcss-Br1eOaFd.js");
|
|
5
|
+
const require_vite = require("./vite-Bg18XZZc.js");
|
|
6
|
+
const require_webpack = require("./webpack-BzPDhzSz.js");
|
|
8
7
|
let _weapp_tailwindcss_postcss = require("@weapp-tailwindcss/postcss");
|
|
9
|
-
exports.UnifiedWebpackPluginV5 = require_webpack.UnifiedWebpackPluginV5;
|
|
10
8
|
exports.WeappTailwindcss = require_vite.WeappTailwindcss;
|
|
11
9
|
exports.createPlugins = require_gulp.createPlugins;
|
|
12
10
|
exports.createWeappTailwindcssGenerator = require_generator.createWeappTailwindcssGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createWeappTailwindcssGenerator } from "./generator-
|
|
1
|
+
import { t as createWeappTailwindcssGenerator } from "./generator-CbpjNxJh.mjs";
|
|
2
2
|
import { WeappTailwindcss as createPlugins } from "./gulp.mjs";
|
|
3
|
-
import { t as weappTailwindcssPostcssPlugin } from "./postcss-
|
|
4
|
-
import { t as WeappTailwindcss } from "./vite-
|
|
5
|
-
import { n as weappTailwindcssPackageDir
|
|
3
|
+
import { t as weappTailwindcssPostcssPlugin } from "./postcss-YetooK6S.mjs";
|
|
4
|
+
import { t as WeappTailwindcss } from "./vite-DOmiMftw.mjs";
|
|
5
|
+
import { n as weappTailwindcssPackageDir } from "./webpack-BdrjJf41.mjs";
|
|
6
6
|
import { unitConversionComposeRules, unitConversionPresets } from "@weapp-tailwindcss/postcss";
|
|
7
|
-
export {
|
|
7
|
+
export { WeappTailwindcss, createPlugins, createWeappTailwindcssGenerator, unitConversionComposeRules, unitConversionPresets, weappTailwindcssPackageDir, weappTailwindcssPostcssPlugin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
2
|
-
const require_v3_engine = require("./v3-engine-
|
|
3
|
-
const require_generator = require("./generator-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
|
+
const require_v3_engine = require("./v3-engine-B_33V3Lu.js");
|
|
3
|
+
const require_generator = require("./generator-DRNbzjx5.js");
|
|
4
4
|
let postcss = require("postcss");
|
|
5
5
|
postcss = require_chunk.__toESM(postcss);
|
|
6
6
|
let node_path = require("node:path");
|
|
@@ -84,10 +84,10 @@ const creator = () => {
|
|
|
84
84
|
];
|
|
85
85
|
atRule.replaceWith(nextNodes);
|
|
86
86
|
startComment.raws.before = hasPreviousNode ? "\n" : "";
|
|
87
|
-
startComment.raws
|
|
87
|
+
startComment.raws["after"] = "\n";
|
|
88
88
|
if (clonedNodes[0]) clonedNodes[0].raws.before = "\n";
|
|
89
89
|
endComment.raws.before = "\n";
|
|
90
|
-
endComment.raws
|
|
90
|
+
endComment.raws["after"] = "\n";
|
|
91
91
|
const nextNode = endComment?.next();
|
|
92
92
|
if (nextNode) nextNode.raws.before = "\n";
|
|
93
93
|
}
|
|
@@ -122,10 +122,10 @@ const creator = () => {
|
|
|
122
122
|
if ((parentRule.nodes?.length ?? 0) === 0) parentRule.replaceWith(nextNodes);
|
|
123
123
|
else parentRule.after(nextNodes);
|
|
124
124
|
startComment.raws.before = hasPreviousNode ? "\n" : "";
|
|
125
|
-
startComment.raws
|
|
125
|
+
startComment.raws["after"] = "\n";
|
|
126
126
|
conditionalRule.raws.before = "\n";
|
|
127
127
|
endComment.raws.before = "\n";
|
|
128
|
-
endComment.raws
|
|
128
|
+
endComment.raws["after"] = "\n";
|
|
129
129
|
const nextNode = endComment.next();
|
|
130
130
|
if (nextNode) nextNode.raws.before = "\n";
|
|
131
131
|
return true;
|
|
@@ -84,10 +84,10 @@ const creator = () => {
|
|
|
84
84
|
];
|
|
85
85
|
atRule.replaceWith(nextNodes);
|
|
86
86
|
startComment.raws.before = hasPreviousNode ? "\n" : "";
|
|
87
|
-
startComment.raws
|
|
87
|
+
startComment.raws["after"] = "\n";
|
|
88
88
|
if (clonedNodes[0]) clonedNodes[0].raws.before = "\n";
|
|
89
89
|
endComment.raws.before = "\n";
|
|
90
|
-
endComment.raws
|
|
90
|
+
endComment.raws["after"] = "\n";
|
|
91
91
|
const nextNode = endComment?.next();
|
|
92
92
|
if (nextNode) nextNode.raws.before = "\n";
|
|
93
93
|
}
|
|
@@ -122,10 +122,10 @@ const creator = () => {
|
|
|
122
122
|
if ((parentRule.nodes?.length ?? 0) === 0) parentRule.replaceWith(nextNodes);
|
|
123
123
|
else parentRule.after(nextNodes);
|
|
124
124
|
startComment.raws.before = hasPreviousNode ? "\n" : "";
|
|
125
|
-
startComment.raws
|
|
125
|
+
startComment.raws["after"] = "\n";
|
|
126
126
|
conditionalRule.raws.before = "\n";
|
|
127
127
|
endComment.raws.before = "\n";
|
|
128
|
-
endComment.raws
|
|
128
|
+
endComment.raws["after"] = "\n";
|
|
129
129
|
const nextNode = endComment.next();
|
|
130
130
|
if (nextNode) nextNode.raws.before = "\n";
|
|
131
131
|
return true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as collectCssInlineSourceCandidates, F as parseConfigParam, H as readInstalledPackageMajorVersion, I as resolveCssSourceEntries, M as expandTailwindSourceEntries, O as DEFAULT_SOURCE_SCAN_EXTENSIONS, P as normalizeLegacyContentEntries, j as createSourceScanPattern, t as resolveTailwindV3Source, y as resolveTailwindV4Source$1 } from "./v3-engine-
|
|
2
|
-
import { i as normalizeWeappTailwindcssGeneratorOptions, t as createWeappTailwindcssGenerator } from "./generator-
|
|
1
|
+
import { A as collectCssInlineSourceCandidates, F as parseConfigParam, H as readInstalledPackageMajorVersion, I as resolveCssSourceEntries, M as expandTailwindSourceEntries, O as DEFAULT_SOURCE_SCAN_EXTENSIONS, P as normalizeLegacyContentEntries, j as createSourceScanPattern, t as resolveTailwindV3Source, y as resolveTailwindV4Source$1 } from "./v3-engine-DcvCCHfs.mjs";
|
|
2
|
+
import { i as normalizeWeappTailwindcssGeneratorOptions, t as createWeappTailwindcssGenerator } from "./generator-CbpjNxJh.mjs";
|
|
3
3
|
import postcss from "postcss";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import process from "node:process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
2
|
let _weapp_tailwindcss_postcss_html_transform = require("@weapp-tailwindcss/postcss/html-transform");
|
|
3
3
|
_weapp_tailwindcss_postcss_html_transform = require_chunk.__toESM(_weapp_tailwindcss_postcss_html_transform);
|
|
4
4
|
//#region src/postcss-html-transform.ts
|
package/dist/postcss.js
CHANGED
|
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_postcss = require("./postcss-
|
|
5
|
+
const require_postcss = require("./postcss-Br1eOaFd.js");
|
|
6
6
|
exports.default = require_postcss.weappTailwindcssPostcssPlugin;
|
|
7
7
|
exports.weappTailwindcssPostcssPlugin = require_postcss.weappTailwindcssPostcssPlugin;
|
package/dist/postcss.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as weappTailwindcssPostcssPlugin } from "./postcss-
|
|
1
|
+
import { t as weappTailwindcssPostcssPlugin } from "./postcss-YetooK6S.mjs";
|
|
2
2
|
export { weappTailwindcssPostcssPlugin as default, weappTailwindcssPostcssPlugin };
|