weapp-tailwindcss 5.0.0-next.7 → 5.0.0-next.9
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/bundlers/shared/generator-css/directives.d.ts +2 -0
- package/dist/bundlers/vite/rewrite-css-imports.d.ts +1 -0
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v5-loaders.d.ts +2 -0
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v5.d.ts +1 -0
- package/dist/bundlers/webpack/loaders/weapp-tw-css-import-rewrite-loader.d.ts +2 -0
- package/dist/{cache-DPN5yKSX.js → cache-BVAiJV3J.js} +5 -0
- package/dist/{cache-nq0_XJoS.mjs → cache-CHs4DXui.mjs} +5 -0
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/css-macro.js +1 -1
- package/dist/css-macro.mjs +1 -1
- package/dist/defaults.js +1 -1
- package/dist/defaults.mjs +1 -1
- package/dist/{generator-TOp4uz7c.js → generator-DKkhJbOg.js} +3 -2
- package/dist/{generator-CzfdCZyd.mjs → generator-UBmfduYg.mjs} +3 -2
- package/dist/{generator-css-Dnpl-IY2.js → generator-css-Bwp3nbrl.js} +209 -146
- package/dist/{generator-css-B938WI9a.mjs → generator-css-DeLLmp2N.mjs} +204 -147
- package/dist/generator.js +1 -1
- package/dist/generator.mjs +1 -1
- package/dist/gulp.js +20 -5
- package/dist/gulp.mjs +20 -5
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{postcss-WsXlC7A-.js → postcss-QIXwT40c.js} +2 -2
- package/dist/{postcss-BtAP6sQO.mjs → postcss-w48mGIhe.mjs} +2 -2
- package/dist/postcss.js +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/{precheck-Dka94ArV.js → precheck-B32p-gLI.js} +5 -5
- package/dist/{precheck-DlrmwCc-.mjs → precheck-B4RH6ZNN.mjs} +5 -5
- package/dist/presets.js +3 -3
- package/dist/presets.mjs +3 -3
- package/dist/{runtime-patch-pGdCqAEu.mjs → runtime-patch-CwN5ya72.mjs} +1 -1
- package/dist/{runtime-patch-qwuisukL.js → runtime-patch-D6mBo_KB.js} +1 -1
- package/dist/tailwindcss/v4/css-sources.d.ts +5 -0
- package/dist/{tailwindcss-T1U5T-iF.js → tailwindcss-Bu-RWIHx.js} +68 -3
- package/dist/{tailwindcss-BIJ185GB.mjs → tailwindcss-C5IgPlQ0.mjs} +57 -4
- package/dist/{vite-D0CoRblu.js → vite-By5KQi9s.js} +59 -27
- package/dist/{vite-BXChkciE.mjs → vite-Cyp42bBf.mjs} +59 -27
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.js +10 -1
- package/dist/{webpack-D-sUCY0u.js → webpack-BzN2ly34.js} +46 -10
- package/dist/{webpack-BNdGm9KL.mjs → webpack-DJazm5sT.mjs} +46 -10
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +4 -4
- /package/dist/{utils-VZvGusYs.js → utils-BiShvil9.js} +0 -0
- /package/dist/{utils-BJjKRQgf.mjs → utils-Btw1iOVV.mjs} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-8l464Juk.js");
|
|
2
|
-
const require_cache = require("./cache-
|
|
3
|
-
const require_runtime_patch = require("./runtime-patch-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
2
|
+
const require_cache = require("./cache-BVAiJV3J.js");
|
|
3
|
+
const require_runtime_patch = require("./runtime-patch-D6mBo_KB.js");
|
|
4
|
+
const require_generator_css = require("./generator-css-Bwp3nbrl.js");
|
|
5
|
+
const require_precheck = require("./precheck-B32p-gLI.js");
|
|
6
|
+
const require_utils = require("./utils-BiShvil9.js");
|
|
7
|
+
const require_tailwindcss = require("./tailwindcss-Bu-RWIHx.js");
|
|
7
8
|
const require_run_tasks = require("./run-tasks-B50A3pxt.js");
|
|
8
9
|
let node_module = require("node:module");
|
|
9
10
|
node_module = require_chunk.__toESM(node_module);
|
|
@@ -31,7 +32,7 @@ function installTailwindcssCssRedirect(pkgDir) {
|
|
|
31
32
|
}
|
|
32
33
|
//#endregion
|
|
33
34
|
//#region src/shared/mpx.ts
|
|
34
|
-
const
|
|
35
|
+
const localRequire = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href);
|
|
35
36
|
const MPX_STYLE_RESOURCE_QUERY_RE$1 = /(?:^|[?&])type=styles(?:&|$)/;
|
|
36
37
|
function isMpxStyleResourceQuery(query) {
|
|
37
38
|
if (typeof query !== "string") return false;
|
|
@@ -43,6 +44,18 @@ function isMpx(appType) {
|
|
|
43
44
|
function getTailwindcssCssEntry(pkgDir) {
|
|
44
45
|
return node_path.default.join(pkgDir, "index.css");
|
|
45
46
|
}
|
|
47
|
+
function resolveMpxWebpackPluginDir(compiler) {
|
|
48
|
+
const candidates = [
|
|
49
|
+
compiler?.context,
|
|
50
|
+
compiler?.options?.context,
|
|
51
|
+
node_process.default.cwd()
|
|
52
|
+
].filter((item) => typeof item === "string" && item.length > 0);
|
|
53
|
+
for (const candidate of candidates) try {
|
|
54
|
+
const projectRequire = (0, node_module.createRequire)(node_path.default.join(candidate, "package.json"));
|
|
55
|
+
return node_path.default.dirname(projectRequire.resolve("@mpxjs/webpack-plugin/package.json"));
|
|
56
|
+
} catch {}
|
|
57
|
+
return node_path.default.dirname(localRequire.resolve("@mpxjs/webpack-plugin/package.json"));
|
|
58
|
+
}
|
|
46
59
|
function isMpxWebpackPluginRequest(request) {
|
|
47
60
|
return request === "@mpxjs/webpack-plugin" || Boolean(request?.startsWith("@mpxjs/webpack-plugin/"));
|
|
48
61
|
}
|
|
@@ -64,9 +77,9 @@ function ensureResolveLoaderAlias(compiler, mpxWebpackPluginDir) {
|
|
|
64
77
|
}
|
|
65
78
|
function ensureMpxTailwindcssAliases(compiler, pkgDir) {
|
|
66
79
|
const tailwindcssCssEntry = getTailwindcssCssEntry(pkgDir);
|
|
67
|
-
const mpxWebpackPluginDir = node_path.default.dirname(require$1.resolve("@mpxjs/webpack-plugin/package.json"));
|
|
68
80
|
compiler.options = compiler.options || {};
|
|
69
81
|
compiler.options.resolve = compiler.options.resolve || {};
|
|
82
|
+
const mpxWebpackPluginDir = resolveMpxWebpackPluginDir(compiler);
|
|
70
83
|
ensureResolveLoaderAlias(compiler, mpxWebpackPluginDir);
|
|
71
84
|
const alias = compiler.options.resolve.alias ?? {};
|
|
72
85
|
compiler.options.resolve.alias = alias;
|
|
@@ -424,7 +437,7 @@ function createLoaderAnchorFinders(appType) {
|
|
|
424
437
|
//#endregion
|
|
425
438
|
//#region src/bundlers/webpack/BaseUnifiedPlugin/v5-loaders.ts
|
|
426
439
|
function setupWebpackV5Loaders(options) {
|
|
427
|
-
const { compiler, options: compilerOptions, appType, weappTailwindcssPackageDir, shouldRewriteCssImports, runtimeLoaderPath, getClassSetInLoader, getRuntimeWatchDependencies, debug } = options;
|
|
440
|
+
const { compiler, options: compilerOptions, appType, weappTailwindcssPackageDir, shouldRewriteCssImports, runtimeLoaderPath, registerAutoCssSource, getClassSetInLoader, getRuntimeWatchDependencies, debug } = options;
|
|
428
441
|
const isMpxApp = isMpx(appType);
|
|
429
442
|
if (shouldRewriteCssImports && isMpxApp) ensureMpxTailwindcssAliases(compiler, weappTailwindcssPackageDir);
|
|
430
443
|
const runtimeClassSetLoader = runtimeLoaderPath ?? node_path.default.resolve(__dirname, "./weapp-tw-runtime-classset-loader.js");
|
|
@@ -433,7 +446,8 @@ function setupWebpackV5Loaders(options) {
|
|
|
433
446
|
const runtimeCssImportRewriteLoaderExists = runtimeCssImportRewriteLoader ? node_fs.default.existsSync(runtimeCssImportRewriteLoader) : false;
|
|
434
447
|
const runtimeLoaderRewriteOptions = shouldRewriteCssImports ? {
|
|
435
448
|
pkgDir: weappTailwindcssPackageDir,
|
|
436
|
-
appType
|
|
449
|
+
appType,
|
|
450
|
+
registerCssSource: registerAutoCssSource
|
|
437
451
|
} : void 0;
|
|
438
452
|
const classSetLoaderOptions = {
|
|
439
453
|
getClassSet: getClassSetInLoader,
|
|
@@ -518,7 +532,12 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
518
532
|
constructor(options = {}) {
|
|
519
533
|
require_precheck._defineProperty(this, "options", void 0);
|
|
520
534
|
require_precheck._defineProperty(this, "appType", void 0);
|
|
521
|
-
this
|
|
535
|
+
require_precheck._defineProperty(this, "hasInitialTailwindCssRoots", void 0);
|
|
536
|
+
this.hasInitialTailwindCssRoots = require_tailwindcss.hasConfiguredTailwindV4CssRoots(options);
|
|
537
|
+
this.options = require_precheck.getCompilerContext({
|
|
538
|
+
...options,
|
|
539
|
+
__internalDeferMissingCssEntriesWarning: true
|
|
540
|
+
});
|
|
522
541
|
this.appType = this.options.appType;
|
|
523
542
|
}
|
|
524
543
|
apply(compiler) {
|
|
@@ -546,6 +565,10 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
546
565
|
const tailwindOptions = require_cache.resolveTailwindcssOptions(runtimeState.twPatcher.options);
|
|
547
566
|
if (tailwindOptions?.config) runtimeWatchDependencyFiles.add(tailwindOptions.config);
|
|
548
567
|
for (const entry of tailwindOptions?.v4?.cssEntries ?? []) runtimeWatchDependencyFiles.add(entry);
|
|
568
|
+
for (const source of tailwindOptions?.v4?.cssSources ?? []) {
|
|
569
|
+
if (source.file) runtimeWatchDependencyFiles.add(source.file);
|
|
570
|
+
for (const dependency of source.dependencies ?? []) runtimeWatchDependencyFiles.add(dependency);
|
|
571
|
+
}
|
|
549
572
|
for (const source of tailwindOptions?.v4?.sources ?? []) if (source?.base) runtimeWatchDependencyContexts.add(source.base);
|
|
550
573
|
if (typeof runtimeState.twPatcher.collectContentTokens !== "function") return;
|
|
551
574
|
try {
|
|
@@ -569,6 +592,18 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
569
592
|
runtimeMetadataPrepared = false;
|
|
570
593
|
syncRuntimeRefreshRequirement();
|
|
571
594
|
};
|
|
595
|
+
const registerAutoCssSource = async (source) => {
|
|
596
|
+
if (this.hasInitialTailwindCssRoots || (runtimeState.twPatcher.majorVersion ?? 0) < 4 || !source.file) return;
|
|
597
|
+
if (!require_tailwindcss.upsertTailwindV4CssSource(this.options, source)) return;
|
|
598
|
+
runtimeSetPrepared = false;
|
|
599
|
+
runtimeMetadataPrepared = false;
|
|
600
|
+
runtimeRefreshRequiredForCompilation = true;
|
|
601
|
+
await require_precheck.refreshTailwindRuntimeState(runtimeState, {
|
|
602
|
+
force: true,
|
|
603
|
+
clearCache: true
|
|
604
|
+
});
|
|
605
|
+
debug("detected tailwindcss v4 css source from webpack css module: %s", source.file);
|
|
606
|
+
};
|
|
572
607
|
compiler.hooks.invalid?.tap?.(require_precheck.pluginName, () => {
|
|
573
608
|
runtimeRefreshRequiredForCompilation = true;
|
|
574
609
|
});
|
|
@@ -599,6 +634,7 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
599
634
|
weappTailwindcssPackageDir,
|
|
600
635
|
shouldRewriteCssImports,
|
|
601
636
|
runtimeLoaderPath,
|
|
637
|
+
registerAutoCssSource,
|
|
602
638
|
getClassSetInLoader,
|
|
603
639
|
getRuntimeWatchDependencies() {
|
|
604
640
|
return {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { c as resolveTailwindcssOptions, n as getRuntimeClassSetSignature } from "./cache-
|
|
2
|
-
import { n as createDebug } from "./runtime-patch-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { c as resolveTailwindcssOptions, n as getRuntimeClassSetSignature } from "./cache-CHs4DXui.mjs";
|
|
2
|
+
import { n as createDebug } from "./runtime-patch-CwN5ya72.mjs";
|
|
3
|
+
import { r as processCachedTask, t as generateCssByGenerator } from "./generator-css-DeLLmp2N.mjs";
|
|
4
|
+
import { _ as ensureRuntimeClassSet, f as pluginName, g as createTailwindRuntimeReadyPromise, n as getCompilerContext, s as _defineProperty, t as shouldSkipJsTransform, v as refreshTailwindRuntimeState } from "./precheck-B4RH6ZNN.mjs";
|
|
5
|
+
import { r as getGroupedEntries } from "./utils-Btw1iOVV.mjs";
|
|
6
|
+
import { c as upsertTailwindV4CssSource, s as hasConfiguredTailwindV4CssRoots } from "./tailwindcss-C5IgPlQ0.mjs";
|
|
6
7
|
import { a as resolveOutputSpecifier, n as resolvePackageDir, o as toAbsoluteOutputPath, r as resolvePluginDisabledState, t as pushConcurrentTaskFactories } from "./run-tasks-DdNi-hkk.mjs";
|
|
7
8
|
import Module, { createRequire } from "node:module";
|
|
8
9
|
import path from "node:path";
|
|
@@ -27,7 +28,7 @@ function installTailwindcssCssRedirect(pkgDir) {
|
|
|
27
28
|
}
|
|
28
29
|
//#endregion
|
|
29
30
|
//#region src/shared/mpx.ts
|
|
30
|
-
const
|
|
31
|
+
const localRequire = createRequire(import.meta.url);
|
|
31
32
|
const MPX_STYLE_RESOURCE_QUERY_RE$1 = /(?:^|[?&])type=styles(?:&|$)/;
|
|
32
33
|
function isMpxStyleResourceQuery(query) {
|
|
33
34
|
if (typeof query !== "string") return false;
|
|
@@ -39,6 +40,18 @@ function isMpx(appType) {
|
|
|
39
40
|
function getTailwindcssCssEntry(pkgDir) {
|
|
40
41
|
return path.join(pkgDir, "index.css");
|
|
41
42
|
}
|
|
43
|
+
function resolveMpxWebpackPluginDir(compiler) {
|
|
44
|
+
const candidates = [
|
|
45
|
+
compiler?.context,
|
|
46
|
+
compiler?.options?.context,
|
|
47
|
+
process.cwd()
|
|
48
|
+
].filter((item) => typeof item === "string" && item.length > 0);
|
|
49
|
+
for (const candidate of candidates) try {
|
|
50
|
+
const projectRequire = createRequire(path.join(candidate, "package.json"));
|
|
51
|
+
return path.dirname(projectRequire.resolve("@mpxjs/webpack-plugin/package.json"));
|
|
52
|
+
} catch {}
|
|
53
|
+
return path.dirname(localRequire.resolve("@mpxjs/webpack-plugin/package.json"));
|
|
54
|
+
}
|
|
42
55
|
function isMpxWebpackPluginRequest(request) {
|
|
43
56
|
return request === "@mpxjs/webpack-plugin" || Boolean(request?.startsWith("@mpxjs/webpack-plugin/"));
|
|
44
57
|
}
|
|
@@ -60,9 +73,9 @@ function ensureResolveLoaderAlias(compiler, mpxWebpackPluginDir) {
|
|
|
60
73
|
}
|
|
61
74
|
function ensureMpxTailwindcssAliases(compiler, pkgDir) {
|
|
62
75
|
const tailwindcssCssEntry = getTailwindcssCssEntry(pkgDir);
|
|
63
|
-
const mpxWebpackPluginDir = path.dirname(require.resolve("@mpxjs/webpack-plugin/package.json"));
|
|
64
76
|
compiler.options = compiler.options || {};
|
|
65
77
|
compiler.options.resolve = compiler.options.resolve || {};
|
|
78
|
+
const mpxWebpackPluginDir = resolveMpxWebpackPluginDir(compiler);
|
|
66
79
|
ensureResolveLoaderAlias(compiler, mpxWebpackPluginDir);
|
|
67
80
|
const alias = compiler.options.resolve.alias ?? {};
|
|
68
81
|
compiler.options.resolve.alias = alias;
|
|
@@ -425,7 +438,7 @@ function createLoaderAnchorFinders(appType) {
|
|
|
425
438
|
//#endregion
|
|
426
439
|
//#region src/bundlers/webpack/BaseUnifiedPlugin/v5-loaders.ts
|
|
427
440
|
function setupWebpackV5Loaders(options) {
|
|
428
|
-
const { compiler, options: compilerOptions, appType, weappTailwindcssPackageDir, shouldRewriteCssImports, runtimeLoaderPath, getClassSetInLoader, getRuntimeWatchDependencies, debug } = options;
|
|
441
|
+
const { compiler, options: compilerOptions, appType, weappTailwindcssPackageDir, shouldRewriteCssImports, runtimeLoaderPath, registerAutoCssSource, getClassSetInLoader, getRuntimeWatchDependencies, debug } = options;
|
|
429
442
|
const isMpxApp = isMpx(appType);
|
|
430
443
|
if (shouldRewriteCssImports && isMpxApp) ensureMpxTailwindcssAliases(compiler, weappTailwindcssPackageDir);
|
|
431
444
|
const runtimeClassSetLoader = runtimeLoaderPath ?? path.resolve(__dirname, "./weapp-tw-runtime-classset-loader.js");
|
|
@@ -434,7 +447,8 @@ function setupWebpackV5Loaders(options) {
|
|
|
434
447
|
const runtimeCssImportRewriteLoaderExists = runtimeCssImportRewriteLoader ? fs.existsSync(runtimeCssImportRewriteLoader) : false;
|
|
435
448
|
const runtimeLoaderRewriteOptions = shouldRewriteCssImports ? {
|
|
436
449
|
pkgDir: weappTailwindcssPackageDir,
|
|
437
|
-
appType
|
|
450
|
+
appType,
|
|
451
|
+
registerCssSource: registerAutoCssSource
|
|
438
452
|
} : void 0;
|
|
439
453
|
const classSetLoaderOptions = {
|
|
440
454
|
getClassSet: getClassSetInLoader,
|
|
@@ -519,7 +533,12 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
519
533
|
constructor(options = {}) {
|
|
520
534
|
_defineProperty(this, "options", void 0);
|
|
521
535
|
_defineProperty(this, "appType", void 0);
|
|
522
|
-
this
|
|
536
|
+
_defineProperty(this, "hasInitialTailwindCssRoots", void 0);
|
|
537
|
+
this.hasInitialTailwindCssRoots = hasConfiguredTailwindV4CssRoots(options);
|
|
538
|
+
this.options = getCompilerContext({
|
|
539
|
+
...options,
|
|
540
|
+
__internalDeferMissingCssEntriesWarning: true
|
|
541
|
+
});
|
|
523
542
|
this.appType = this.options.appType;
|
|
524
543
|
}
|
|
525
544
|
apply(compiler) {
|
|
@@ -547,6 +566,10 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
547
566
|
const tailwindOptions = resolveTailwindcssOptions(runtimeState.twPatcher.options);
|
|
548
567
|
if (tailwindOptions?.config) runtimeWatchDependencyFiles.add(tailwindOptions.config);
|
|
549
568
|
for (const entry of tailwindOptions?.v4?.cssEntries ?? []) runtimeWatchDependencyFiles.add(entry);
|
|
569
|
+
for (const source of tailwindOptions?.v4?.cssSources ?? []) {
|
|
570
|
+
if (source.file) runtimeWatchDependencyFiles.add(source.file);
|
|
571
|
+
for (const dependency of source.dependencies ?? []) runtimeWatchDependencyFiles.add(dependency);
|
|
572
|
+
}
|
|
550
573
|
for (const source of tailwindOptions?.v4?.sources ?? []) if (source?.base) runtimeWatchDependencyContexts.add(source.base);
|
|
551
574
|
if (typeof runtimeState.twPatcher.collectContentTokens !== "function") return;
|
|
552
575
|
try {
|
|
@@ -570,6 +593,18 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
570
593
|
runtimeMetadataPrepared = false;
|
|
571
594
|
syncRuntimeRefreshRequirement();
|
|
572
595
|
};
|
|
596
|
+
const registerAutoCssSource = async (source) => {
|
|
597
|
+
if (this.hasInitialTailwindCssRoots || (runtimeState.twPatcher.majorVersion ?? 0) < 4 || !source.file) return;
|
|
598
|
+
if (!upsertTailwindV4CssSource(this.options, source)) return;
|
|
599
|
+
runtimeSetPrepared = false;
|
|
600
|
+
runtimeMetadataPrepared = false;
|
|
601
|
+
runtimeRefreshRequiredForCompilation = true;
|
|
602
|
+
await refreshTailwindRuntimeState(runtimeState, {
|
|
603
|
+
force: true,
|
|
604
|
+
clearCache: true
|
|
605
|
+
});
|
|
606
|
+
debug("detected tailwindcss v4 css source from webpack css module: %s", source.file);
|
|
607
|
+
};
|
|
573
608
|
compiler.hooks.invalid?.tap?.(pluginName, () => {
|
|
574
609
|
runtimeRefreshRequiredForCompilation = true;
|
|
575
610
|
});
|
|
@@ -600,6 +635,7 @@ var UnifiedWebpackPluginV5 = class {
|
|
|
600
635
|
weappTailwindcssPackageDir,
|
|
601
636
|
shouldRewriteCssImports,
|
|
602
637
|
runtimeLoaderPath,
|
|
638
|
+
registerAutoCssSource,
|
|
603
639
|
getClassSetInLoader,
|
|
604
640
|
getRuntimeWatchDependencies() {
|
|
605
641
|
return {
|
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-BzN2ly34.js");
|
|
3
3
|
exports.UnifiedWebpackPluginV5 = require_webpack.UnifiedWebpackPluginV5;
|
|
4
4
|
exports.WeappTailwindcss = require_webpack.UnifiedWebpackPluginV5;
|
|
5
5
|
exports.weappTailwindcss = require_webpack.UnifiedWebpackPluginV5;
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as weappTailwindcssPackageDir, t as UnifiedWebpackPluginV5 } from "./webpack-
|
|
1
|
+
import { n as weappTailwindcssPackageDir, t as UnifiedWebpackPluginV5 } from "./webpack-DJazm5sT.mjs";
|
|
2
2
|
export { UnifiedWebpackPluginV5, UnifiedWebpackPluginV5 as WeappTailwindcss, UnifiedWebpackPluginV5 as weappTailwindcss, weappTailwindcssPackageDir };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-tailwindcss",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.9",
|
|
4
4
|
"description": "把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!",
|
|
5
5
|
"author": "ice breaker <1324318532@qq.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -186,13 +186,13 @@
|
|
|
186
186
|
"magic-string": "0.30.21",
|
|
187
187
|
"postcss-load-config": "^6.0.1",
|
|
188
188
|
"semver": "~7.8.0",
|
|
189
|
-
"tailwindcss-patch": "9.3.
|
|
189
|
+
"tailwindcss-patch": "9.3.3",
|
|
190
190
|
"yaml": "^2.9.0",
|
|
191
|
-
"@weapp-tailwindcss/postcss": "2.2.1-next.0",
|
|
192
191
|
"@weapp-tailwindcss/logger": "1.1.0",
|
|
193
192
|
"@weapp-tailwindcss/reset": "0.1.1-next.0",
|
|
194
193
|
"@weapp-tailwindcss/shared": "1.1.3",
|
|
195
|
-
"tailwindcss
|
|
194
|
+
"@weapp-tailwindcss/postcss": "2.2.1-next.1",
|
|
195
|
+
"tailwindcss-config": "1.1.6-next.1"
|
|
196
196
|
},
|
|
197
197
|
"scripts": {
|
|
198
198
|
"dev": "tsdown --watch --sourcemap",
|
|
File without changes
|
|
File without changes
|