weapp-tailwindcss 5.1.1 → 5.1.3
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 +2 -0
- package/README.md +2 -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/source-resolver.d.ts +1 -1
- package/dist/bundlers/vite/css-memory.d.ts +1 -0
- package/dist/bundlers/vite/generate-bundle/css-output-helpers.d.ts +1 -1
- 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/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-DlpKD7aN.mjs → context-B07Vf584.mjs} +34 -34
- package/dist/{context-B6hVF7dr.js → context-D75pwtBW.js} +43 -43
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/css-macro/postcss.js +2 -2
- package/dist/css-macro.js +3 -3
- 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.js +39 -8
- package/dist/framework.mjs +33 -6
- package/dist/generator/options.d.ts +3 -1
- package/dist/{generator-6oMJtTDO.js → generator-CV_0irKO.js} +4 -2
- package/dist/{generator-CjzBK7h-.mjs → generator-DNs6ekoC.mjs} +3 -1
- package/dist/generator.js +2 -2
- package/dist/generator.mjs +2 -2
- package/dist/{gulp-BtGq6LP9.js → gulp-B_u8NjQL.js} +9 -9
- package/dist/{gulp-DNU10Vtc.mjs → gulp-aQMZ0M7c.mjs} +4 -4
- package/dist/gulp.js +1 -1
- package/dist/gulp.mjs +1 -1
- package/dist/{hmr-timing-B0KuWDjV.mjs → hmr-timing-DLYQTCDb.mjs} +40 -31
- package/dist/{hmr-timing-CegXR9O4.js → hmr-timing-DOoHun3i.js} +42 -33
- 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-BKYb9jxa.js → source-candidate-scan-signature-DzwebZrf.js} +6 -6
- package/dist/{source-candidate-scan-signature-B5af2Ahe.mjs → source-candidate-scan-signature-pS87mdHZ.mjs} +3 -3
- package/dist/{tailwindcss-dbrbY4cd.js → tailwindcss-BSCvrs1p.js} +8 -8
- package/dist/{tailwindcss-B5mRo0-M.mjs → tailwindcss-BwV3_Ryc.mjs} +3 -3
- package/dist/{transform-fRBeuuK-.mjs → transform-Clj7R818.mjs} +19 -19
- package/dist/{transform-vLwZpiTE.js → transform-fin-OTVD.js} +47 -47
- package/dist/{utils-BCa37Wqj.js → utils-D3h8j7Mk.js} +2 -2
- package/dist/{v4-engine-C3qSwQ-e.mjs → v4-engine-BklH3CpJ.mjs} +5 -5
- package/dist/{v4-engine-ON_oSLfO.js → v4-engine-CKbS27-o.js} +10 -10
- package/dist/{vite-CWRooooa.mjs → vite-5Wn0PIzJ.mjs} +244 -45
- package/dist/{vite-w-RkgaTY.js → vite-CkVMSDDp.js} +249 -50
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.js +71 -34
- package/dist/weapp-tw-runtime-classset-loader.js +2 -2
- package/dist/{webpack-8PaV1gG3.mjs → webpack-DEag6ueE.mjs} +66 -18
- package/dist/{webpack-CGgBOx9l.js → webpack-hvSFaicc.js} +71 -23
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +10 -5
- /package/dist/{chunk-emK7D4bc.js → rolldown-runtime-emK7D4bc.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_v4_engine = require("./v4-engine-
|
|
3
|
-
const require_generator = require("./generator-
|
|
4
|
-
const require_utils = require("./utils-
|
|
5
|
-
const require_context = require("./context-
|
|
6
|
-
const require_tailwindcss = require("./tailwindcss-
|
|
7
|
-
const require_hmr_timing = require("./hmr-timing-
|
|
8
|
-
const require_source_candidate_scan_signature = require("./source-candidate-scan-signature-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-emK7D4bc.js");
|
|
2
|
+
const require_v4_engine = require("./v4-engine-CKbS27-o.js");
|
|
3
|
+
const require_generator = require("./generator-CV_0irKO.js");
|
|
4
|
+
const require_utils = require("./utils-D3h8j7Mk.js");
|
|
5
|
+
const require_context = require("./context-D75pwtBW.js");
|
|
6
|
+
const require_tailwindcss = require("./tailwindcss-BSCvrs1p.js");
|
|
7
|
+
const require_hmr_timing = require("./hmr-timing-DOoHun3i.js");
|
|
8
|
+
const require_source_candidate_scan_signature = require("./source-candidate-scan-signature-DzwebZrf.js");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
10
|
-
node_fs =
|
|
10
|
+
node_fs = require_rolldown_runtime.__toESM(node_fs);
|
|
11
11
|
let node_path = require("node:path");
|
|
12
|
-
node_path =
|
|
12
|
+
node_path = require_rolldown_runtime.__toESM(node_path);
|
|
13
13
|
let node_process = require("node:process");
|
|
14
|
-
node_process =
|
|
14
|
+
node_process = require_rolldown_runtime.__toESM(node_process);
|
|
15
15
|
let _weapp_tailwindcss_postcss = require("@weapp-tailwindcss/postcss");
|
|
16
16
|
let node_fs_promises = require("node:fs/promises");
|
|
17
17
|
let micromatch = require("micromatch");
|
|
18
|
-
micromatch =
|
|
18
|
+
micromatch = require_rolldown_runtime.__toESM(micromatch);
|
|
19
19
|
let node_module = require("node:module");
|
|
20
|
-
node_module =
|
|
20
|
+
node_module = require_rolldown_runtime.__toESM(node_module);
|
|
21
21
|
let _weapp_core_escape = require("@weapp-core/escape");
|
|
22
22
|
let _weapp_tailwindcss_shared_node = require("@weapp-tailwindcss/shared/node");
|
|
23
23
|
//#region src/shared/tailwindcss-css-redirect.ts
|
|
@@ -27,7 +27,7 @@ function installTailwindcssCssRedirect(pkgDir) {
|
|
|
27
27
|
const target = node_path.default.join(pkgDir, "index.css");
|
|
28
28
|
const original = moduleWithMutableResolve._resolveFilename;
|
|
29
29
|
if (patched.has(original)) return;
|
|
30
|
-
const replacements = new Set(["tailwindcss", "tailwindcss$"]);
|
|
30
|
+
const replacements = /* @__PURE__ */ new Set(["tailwindcss", "tailwindcss$"]);
|
|
31
31
|
const resolveTailwindcssCss = (request, parent, isMain, options) => {
|
|
32
32
|
if (replacements.has(request)) return target;
|
|
33
33
|
if (request.startsWith("tailwindcss/")) return node_path.default.join(pkgDir, request.slice(12));
|
|
@@ -404,6 +404,45 @@ function normalizeWebpackGeneratorCssSources(cssSources) {
|
|
|
404
404
|
const normalized = cssSources.filter((source) => typeof source?.css === "string" && source.css.length > 0);
|
|
405
405
|
return normalized.length > 0 ? normalized : void 0;
|
|
406
406
|
}
|
|
407
|
+
function scopeWebpackGeneratorOptionsToCssSource(compilerOptions, sourceFile, options = {}) {
|
|
408
|
+
const withoutCssEntries = () => ({
|
|
409
|
+
...compilerOptions,
|
|
410
|
+
...compilerOptions.cssEntries?.length ? { cssEntries: [] } : {},
|
|
411
|
+
tailwindcss: {
|
|
412
|
+
...compilerOptions.tailwindcss,
|
|
413
|
+
v4: {
|
|
414
|
+
...compilerOptions.tailwindcss?.v4,
|
|
415
|
+
...compilerOptions.tailwindcss?.v4?.cssEntries?.length || compilerOptions.cssEntries?.length ? { cssEntries: [] } : {}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
if (!sourceFile) {
|
|
420
|
+
if (options.disableUnmatchedCssEntries !== true) return compilerOptions;
|
|
421
|
+
if (!compilerOptions.cssEntries?.length && !compilerOptions.tailwindcss?.v4?.cssEntries?.length) return compilerOptions;
|
|
422
|
+
return withoutCssEntries();
|
|
423
|
+
}
|
|
424
|
+
const resolvedSourceFile = node_path.default.resolve(sourceFile);
|
|
425
|
+
if (options.disableUnmatchedCssEntries === true) {
|
|
426
|
+
const configuredEntries = [...compilerOptions.cssEntries ?? [], ...compilerOptions.tailwindcss?.v4?.cssEntries ?? []];
|
|
427
|
+
if (configuredEntries.length > 0 && !configuredEntries.some((entry) => node_path.default.resolve(entry) === resolvedSourceFile)) return withoutCssEntries();
|
|
428
|
+
}
|
|
429
|
+
const cssEntries = compilerOptions.cssEntries?.filter((entry) => node_path.default.resolve(entry) === resolvedSourceFile);
|
|
430
|
+
const runtimeCssEntries = compilerOptions.tailwindcss?.v4?.cssEntries?.filter((entry) => node_path.default.resolve(entry) === resolvedSourceFile);
|
|
431
|
+
const hasScopedCssEntries = Boolean(cssEntries?.length);
|
|
432
|
+
const hasScopedRuntimeCssEntries = Boolean(runtimeCssEntries?.length);
|
|
433
|
+
if (!hasScopedCssEntries && !hasScopedRuntimeCssEntries) return compilerOptions;
|
|
434
|
+
return {
|
|
435
|
+
...compilerOptions,
|
|
436
|
+
...hasScopedCssEntries ? { cssEntries } : {},
|
|
437
|
+
tailwindcss: {
|
|
438
|
+
...compilerOptions.tailwindcss,
|
|
439
|
+
v4: {
|
|
440
|
+
...compilerOptions.tailwindcss?.v4,
|
|
441
|
+
...hasScopedRuntimeCssEntries ? { cssEntries: runtimeCssEntries } : hasScopedCssEntries ? { cssEntries } : {}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
}
|
|
407
446
|
function hasProcessedCssAssetUrl(css) {
|
|
408
447
|
return /url\(\s*["']?data:/i.test(css);
|
|
409
448
|
}
|
|
@@ -430,7 +469,7 @@ function collectWebpackAssetUserCssMarkers(source) {
|
|
|
430
469
|
} catch {}
|
|
431
470
|
return markers;
|
|
432
471
|
}
|
|
433
|
-
const WEBPACK_TAILWIND_GENERATED_LAYER_NAMES = new Set([
|
|
472
|
+
const WEBPACK_TAILWIND_GENERATED_LAYER_NAMES = /* @__PURE__ */ new Set([
|
|
434
473
|
"theme",
|
|
435
474
|
"base",
|
|
436
475
|
"utilities"
|
|
@@ -793,6 +832,7 @@ function createWebpackCssSourceResolvers(options) {
|
|
|
793
832
|
const activeWebpackCssSourceFiles = /* @__PURE__ */ new Set();
|
|
794
833
|
const resolveConfiguredMainCssSourceFile = (file) => {
|
|
795
834
|
if (!isMainCssChunk(file)) return;
|
|
835
|
+
if (configuredMainCssEntryFiles.length !== 1) return;
|
|
796
836
|
for (const sourceFile of configuredMainCssEntryFiles) if (cssSources.has(sourceFile)) {
|
|
797
837
|
activeWebpackCssSourceFiles.add(sourceFile);
|
|
798
838
|
return sourceFile;
|
|
@@ -1770,7 +1810,9 @@ function setupWebpackV5ProcessAssetsHook(options) {
|
|
|
1770
1810
|
if (require_hmr_timing.isPureLocalCssImportWrapper(currentRawSource)) return { result: new ConcatSource(require_v4_engine.removeTailwindSourceDirectives(require_source_candidate_scan_signature.stripBundlerGeneratedCssMarkers(currentRawSource), { importFallback: true })) };
|
|
1771
1811
|
const fallbackGeneratorRuntimeSet = getGeneratorRuntimeSet();
|
|
1772
1812
|
const hasExplicitTailwindV4SourceCss = sourceCss !== void 0 && (require_v4_engine.hasTailwindSourceDirectives(sourceCss, { importFallback: true }) || sourceCss.includes("@config"));
|
|
1773
|
-
const
|
|
1813
|
+
const currentAssetHasTailwindDirectives = require_v4_engine.hasTailwindRootDirectives(generatorRawSource, { importFallback: true }) || require_v4_engine.hasTailwindSourceDirectives(generatorRawSource, { importFallback: true }) || require_v4_engine.hasTailwindApplyDirective(generatorRawSource);
|
|
1814
|
+
const shouldForceTailwindV4Generation = cssHandlerOptions.isMainChunk && hasConfiguredTailwindV4SourceRoots() && (configuredMainCssEntryFiles.length > 0 || currentAssetHasTailwindDirectives || hasExplicitTailwindV4SourceCss);
|
|
1815
|
+
const shouldSkipUnmatchedMainCssGeneration = !isWebGeneratorTarget && cssHandlerOptions.isMainChunk && sourceFile === void 0 && configuredMainCssEntryFiles.length > 0 && !currentAssetHasTailwindDirectives;
|
|
1774
1816
|
const resolvedScopedGeneratorRuntimeSet = await require_source_candidate_scan_signature.createScopedGeneratorRuntime({
|
|
1775
1817
|
cssHandlerOptions,
|
|
1776
1818
|
fallbackRuntime: hasExplicitTailwindV4SourceCss ? /* @__PURE__ */ new Set() : fallbackGeneratorRuntimeSet,
|
|
@@ -1782,8 +1824,9 @@ function setupWebpackV5ProcessAssetsHook(options) {
|
|
|
1782
1824
|
sourceFile: sourceFile ?? file,
|
|
1783
1825
|
scopedSourceCandidateGetter: webpackSourceCandidates?.getSourceCandidatesForEntries
|
|
1784
1826
|
});
|
|
1785
|
-
const scopedGeneratorRuntimeSet = !hasExplicitTailwindV4SourceCss && resolvedScopedGeneratorRuntimeSet !== fallbackGeneratorRuntimeSet ? new Set([...fallbackGeneratorRuntimeSet, ...resolvedScopedGeneratorRuntimeSet]) : resolvedScopedGeneratorRuntimeSet;
|
|
1827
|
+
const scopedGeneratorRuntimeSet = !hasExplicitTailwindV4SourceCss && resolvedScopedGeneratorRuntimeSet !== fallbackGeneratorRuntimeSet ? /* @__PURE__ */ new Set([...fallbackGeneratorRuntimeSet, ...resolvedScopedGeneratorRuntimeSet]) : resolvedScopedGeneratorRuntimeSet;
|
|
1786
1828
|
const generatorCssSources = normalizeWebpackGeneratorCssSources(cssHandlerOptions.sourceOptions?.cssSources);
|
|
1829
|
+
const scopedGeneratorCompilerOptions = scopeWebpackGeneratorOptionsToCssSource(compilerOptions, sourceFile, { disableUnmatchedCssEntries: !isWebGeneratorTarget && cssHandlerOptions.isMainChunk });
|
|
1787
1830
|
const generatorCssHandlerOptions = generatorCssSources === void 0 ? cssHandlerOptions : {
|
|
1788
1831
|
...cssHandlerOptions,
|
|
1789
1832
|
sourceOptions: {
|
|
@@ -1792,7 +1835,7 @@ function setupWebpackV5ProcessAssetsHook(options) {
|
|
|
1792
1835
|
}
|
|
1793
1836
|
};
|
|
1794
1837
|
const generatorOptions = {
|
|
1795
|
-
opts:
|
|
1838
|
+
opts: scopedGeneratorCompilerOptions,
|
|
1796
1839
|
runtimeState,
|
|
1797
1840
|
runtime: scopedGeneratorRuntimeSet,
|
|
1798
1841
|
rawSource: generatorRawSource,
|
|
@@ -1810,7 +1853,7 @@ function setupWebpackV5ProcessAssetsHook(options) {
|
|
|
1810
1853
|
debug
|
|
1811
1854
|
};
|
|
1812
1855
|
let generated;
|
|
1813
|
-
try {
|
|
1856
|
+
if (!shouldSkipUnmatchedMainCssGeneration) try {
|
|
1814
1857
|
generated = await require_source_candidate_scan_signature.generateTailwindV4Css({
|
|
1815
1858
|
...generatorOptions,
|
|
1816
1859
|
outputFile: file
|
|
@@ -1824,6 +1867,7 @@ function setupWebpackV5ProcessAssetsHook(options) {
|
|
|
1824
1867
|
debug("css generator skipped for plain webpack css asset: %s %O", file, error);
|
|
1825
1868
|
generated = void 0;
|
|
1826
1869
|
}
|
|
1870
|
+
else debug("css generator skipped for unmatched webpack main css asset: %s", file);
|
|
1827
1871
|
const source = new ConcatSource(finalizeTracedCss(generated ? finalizeCssAssetSource(isWebGeneratorTarget && currentRawSource.includes("tailwindcss v4.") ? createWebpackGeneratorUserCssSourceAppend({
|
|
1828
1872
|
css: generated.css,
|
|
1829
1873
|
processed: true
|
|
@@ -1856,7 +1900,7 @@ function setupWebpackV5ProcessAssetsHook(options) {
|
|
|
1856
1900
|
});
|
|
1857
1901
|
const activeCssFiles = new Set(groupedEntries.css.map(([file]) => file));
|
|
1858
1902
|
pruneWebpackCssHandlerOptionCaches(cssHandlerOptionsCache, cssUserHandlerOptionsCache, activeCssFiles);
|
|
1859
|
-
if (activeCssFiles.size > 0) pruneWebpackCssSources?.(new Set([
|
|
1903
|
+
if (activeCssFiles.size > 0) pruneWebpackCssSources?.(/* @__PURE__ */ new Set([
|
|
1860
1904
|
...registeredWebpackCssSourceFiles,
|
|
1861
1905
|
...activeWebpackCssSourceFiles,
|
|
1862
1906
|
...[...cssAssetResources.values()].flatMap((resources) => [...resources])
|
|
@@ -2002,7 +2046,11 @@ function setupWebpackV5Loaders(options) {
|
|
|
2002
2046
|
};
|
|
2003
2047
|
if (cssImportRewriteLoaderOptions && runtimeCssImportRewriteLoaderExists && runtimeCssImportRewriteLoader && isCssModule) {
|
|
2004
2048
|
const existingIndex = loaderEntries.findIndex((entry) => entry.loader?.includes?.(runtimeCssImportRewriteLoader));
|
|
2005
|
-
const rewriteLoaderEntry = existingIndex !== -1 ?
|
|
2049
|
+
const rewriteLoaderEntry = existingIndex !== -1 ? {
|
|
2050
|
+
...loaderEntries.splice(existingIndex, 1)[0],
|
|
2051
|
+
loader: runtimeCssImportRewriteLoader,
|
|
2052
|
+
options: cssImportRewriteLoaderOptions
|
|
2053
|
+
} : createCssImportRewriteLoaderEntry();
|
|
2006
2054
|
if (rewriteLoaderEntry) {
|
|
2007
2055
|
const anchorIndex = findRewriteAnchor(loaderEntries);
|
|
2008
2056
|
if (anchorIndex === -1) anchorlessInsert(rewriteLoaderEntry, "after");
|
|
@@ -2165,7 +2213,7 @@ var WeappTailwindcss = class {
|
|
|
2165
2213
|
};
|
|
2166
2214
|
const collectWatchChangedFiles = () => {
|
|
2167
2215
|
const compilerLike = compiler;
|
|
2168
|
-
return new Set([...compilerLike.modifiedFiles ?? [], ...compilerLike.removedFiles ?? []]);
|
|
2216
|
+
return /* @__PURE__ */ new Set([...compilerLike.modifiedFiles ?? [], ...compilerLike.removedFiles ?? []]);
|
|
2169
2217
|
};
|
|
2170
2218
|
const hasRuntimeDependencyChanges = (files) => {
|
|
2171
2219
|
for (const file of files) if (isWatchFileInRuntimeDependencies(file, {
|
|
@@ -2235,7 +2283,7 @@ var WeappTailwindcss = class {
|
|
|
2235
2283
|
const configuredSourceFiles = /* @__PURE__ */ new Set();
|
|
2236
2284
|
for (const entry of tailwindOptions?.v4?.cssEntries ?? []) configuredSourceFiles.add(node_path.default.resolve(entry));
|
|
2237
2285
|
for (const source of tailwindOptions?.v4?.cssSources ?? []) if (source.file) configuredSourceFiles.add(node_path.default.resolve(source.file));
|
|
2238
|
-
const activeSourceFiles = new Set([
|
|
2286
|
+
const activeSourceFiles = /* @__PURE__ */ new Set([
|
|
2239
2287
|
...configuredSourceFiles,
|
|
2240
2288
|
...currentWebpackCssSourceModules,
|
|
2241
2289
|
...activeAssetResources,
|
package/dist/webpack.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_webpack = require("./webpack-
|
|
2
|
+
const require_webpack = require("./webpack-hvSFaicc.js");
|
|
3
3
|
exports.WeappTailwindcss = require_webpack.WeappTailwindcss;
|
|
4
4
|
exports.weappTailwindcss = require_webpack.WeappTailwindcss;
|
|
5
5
|
exports.weappTailwindcssPackageDir = require_webpack.weappTailwindcssPackageDir;
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as weappTailwindcssPackageDir, t as WeappTailwindcss } from "./webpack-
|
|
1
|
+
import { n as weappTailwindcssPackageDir, t as WeappTailwindcss } from "./webpack-DEag6ueE.mjs";
|
|
2
2
|
export { WeappTailwindcss, WeappTailwindcss as weappTailwindcss, weappTailwindcssPackageDir };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-tailwindcss",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.3",
|
|
4
4
|
"description": "把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!",
|
|
5
5
|
"author": "ice breaker <1324318532@qq.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,6 +60,11 @@
|
|
|
60
60
|
"import": "./dist/webpack.mjs",
|
|
61
61
|
"require": "./dist/webpack.js"
|
|
62
62
|
},
|
|
63
|
+
"./rspack": {
|
|
64
|
+
"types": "./dist/rspack.d.ts",
|
|
65
|
+
"import": "./dist/rspack.mjs",
|
|
66
|
+
"require": "./dist/rspack.js"
|
|
67
|
+
},
|
|
63
68
|
"./core": {
|
|
64
69
|
"types": "./dist/core.d.ts",
|
|
65
70
|
"import": "./dist/core.mjs",
|
|
@@ -177,7 +182,7 @@
|
|
|
177
182
|
"@babel/traverse": "~7.29.7",
|
|
178
183
|
"@babel/types": "~7.29.7",
|
|
179
184
|
"@tailwindcss-mangle/engine": "0.1.1",
|
|
180
|
-
"@vue/compiler-dom": "^3.5.
|
|
185
|
+
"@vue/compiler-dom": "^3.5.39",
|
|
181
186
|
"@weapp-core/escape": "~8.0.0",
|
|
182
187
|
"comment-json": "^5.0.0",
|
|
183
188
|
"debug": "~4.4.3",
|
|
@@ -189,10 +194,10 @@
|
|
|
189
194
|
"semver": "~7.8.5",
|
|
190
195
|
"yaml": "^2.9.0",
|
|
191
196
|
"@weapp-tailwindcss/logger": "2.0.0",
|
|
192
|
-
"@weapp-tailwindcss/postcss": "3.1.
|
|
197
|
+
"@weapp-tailwindcss/postcss": "3.1.3",
|
|
193
198
|
"@weapp-tailwindcss/reset": "0.1.1",
|
|
194
|
-
"tailwindcss
|
|
195
|
-
"
|
|
199
|
+
"@weapp-tailwindcss/shared": "2.0.0",
|
|
200
|
+
"tailwindcss-config": "2.0.0"
|
|
196
201
|
},
|
|
197
202
|
"devDependencies": {
|
|
198
203
|
"htmlparser2": "12.0.0"
|
|
File without changes
|