weapp-tailwindcss 5.4.2 → 5.5.1
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 +13 -1
- package/README.zh-CN.md +13 -1
- package/dist/bundlers/shared/final-css-cleanup.d.ts +1 -1
- package/dist/bundlers/shared/v4-generation-core.d.ts +1 -0
- package/dist/bundlers/vite/capability-profile.d.ts +1 -0
- package/dist/bundlers/vite/css-finalizer/web-plugin.d.ts +3 -0
- package/dist/bundlers/vite/css-handler-options.d.ts +32 -0
- package/dist/bundlers/vite/{generate-bundle/css-output.d.ts → css-output.d.ts} +1 -1
- package/dist/bundlers/vite/frameworks/generic/web.d.ts +2 -0
- package/dist/bundlers/vite/generate-bundle/css-handler-options.d.ts +2 -32
- package/dist/bundlers/vite/generate-bundle/finalize/root-import-shell.d.ts +1 -1
- package/dist/bundlers/vite/generate-bundle/remembered-css-replay.d.ts +2 -2
- package/dist/bundlers/vite/generate-bundle/runtime.d.ts +1 -1
- package/dist/bundlers/vite/generate-bundle/uni-app-x-postprocess.d.ts +1 -1
- package/dist/bundlers/vite/generate-bundle.d.ts +1 -1
- package/dist/bundlers/vite/runtime-class-set.d.ts +1 -5
- package/dist/bundlers/vite/shared/create-css-only-plugins-runtime.d.ts +3 -0
- package/dist/cache-CBJFB1HN.cjs +223 -0
- package/dist/compiler/events.d.ts +32 -0
- package/dist/compiler/host.d.ts +13 -0
- package/dist/compiler/index.d.ts +3 -0
- package/dist/compiler/runtime-state.d.ts +17 -0
- package/dist/compiler-B0YSc0DY.js +4877 -0
- package/dist/{wxml-o-CUulAM.cjs → compiler-D2ZJc3uA.cjs} +3649 -283
- package/dist/core.cjs +6 -3
- package/dist/core.d.ts +2 -0
- package/dist/core.js +4 -4
- package/dist/defaults-B5ep0ojb.js +120 -0
- package/dist/defaults-BI9j1znS.cjs +156 -0
- package/dist/defaults.cjs +5 -121
- package/dist/defaults.js +1 -116
- package/dist/final-css-cleanup-B0HUBtiE.js +308 -0
- package/dist/final-css-cleanup-DSjczga3.cjs +138 -0
- package/dist/{generator-WlhrtNa3.cjs → generator-DsrQ9txU.cjs} +62 -5
- package/dist/{generator-BjK5PRR-.js → generator-DyXTBPmE.js} +47 -2
- package/dist/generator.cjs +1 -1
- package/dist/generator.js +1 -1
- package/dist/{gulp-ChecVI6A.cjs → gulp-C9ENAx3f.cjs} +30 -28
- package/dist/{gulp-D6LcfRz_.js → gulp-DXeQfvVC.js} +7 -7
- package/dist/gulp.cjs +1 -1
- package/dist/gulp.js +1 -1
- package/dist/{hmr-timing-afnWvy7u.cjs → hmr-timing-Cz4IesEM.cjs} +6 -229
- package/dist/{hmr-timing-CqDfjvqE.js → hmr-timing-DNxQm-bN.js} +6 -1258
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/{pipeline-helpers-DxPFMGxz.cjs → pipeline-helpers-CSGnR5gh.cjs} +6 -5
- package/dist/postcss.cjs +1 -1
- package/dist/postcss.js +1 -1
- package/dist/presets.cjs +4 -4
- package/dist/presets.js +2 -2
- package/dist/rspack.cjs +2 -2
- package/dist/rspack.js +2 -2
- package/dist/runtime-state-BBQcA0n5.cjs +54 -0
- package/dist/{source-candidate-scan-signature-FywFU3Rg.cjs → scoped-generator-TVjEaOeP.cjs} +5 -123
- package/dist/{source-candidate-scan-signature-BVScymyM.js → scoped-generator-kRj_5Axx.js} +4 -92
- package/dist/source-candidate-scan-signature-B7cUxqqX.cjs +129 -0
- package/dist/source-candidate-scan-signature-CsP4BQNa.js +92 -0
- package/dist/style-injector/internal.d.ts +1 -1
- package/dist/style-injector/vite-web.d.ts +3 -0
- package/dist/{tailwindcss-9xmoCkaR.js → tailwindcss-BK9S7zuq.js} +1 -2
- package/dist/{tailwindcss-D3jltF7M.cjs → tailwindcss-C-jBBQfw.cjs} +8 -9
- package/dist/{transform-DQhgAarN.js → transform-CfOzh007.js} +3 -3
- package/dist/{transform-C6k9zTQR.cjs → transform-DUPOPZ54.cjs} +27 -27
- package/dist/uni-app-x/vite/style-source.d.ts +11 -0
- package/dist/{v4-generation-core-CPKNwzjz.cjs → v4-generation-core-CRNUU_Rr.cjs} +29 -1172
- package/dist/vite/web.cjs +27 -0
- package/dist/vite/web.d.ts +1 -0
- package/dist/vite/web.js +25 -0
- package/dist/{vite-D3aCtpmv.js → vite-BXe-axax.js} +263 -3587
- package/dist/{vite-D-gmOkPN.cjs → vite-D_mAIfTU.cjs} +514 -3798
- package/dist/vite-web.d.ts +4 -0
- package/dist/vite.cjs +1 -1
- package/dist/vite.js +1 -1
- package/dist/weapp-tw-css-generation-loader.cjs +1 -1
- package/dist/weapp-tw-css-import-rewrite-loader.cjs +5 -5
- package/dist/web-B2Ea9K4B.cjs +4361 -0
- package/dist/web-Cv7ualrU.js +3796 -0
- package/dist/{webpack-B-6a8Z8F.js → webpack-7Um2GFtx.js} +13 -12
- package/dist/{webpack-yAne9ZYu.cjs → webpack-Ce04-btG.cjs} +51 -49
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.js +1 -1
- package/package.json +13 -4
- package/dist/cache-options-DavPxrhC.cjs +0 -16
- package/dist/cache-options-DwBtLwQe.js +0 -5
- package/dist/compiler-B-m9VGqj.cjs +0 -2316
- package/dist/compiler-BgMj2E5l.js +0 -2051
- package/dist/local-style-matcher-DRpFEu1s.cjs +0 -34
- package/dist/local-style-matcher-DsiI2wIc.js +0 -17
- package/dist/object-B-8IHefx.js +0 -47
- package/dist/object-DbHtAXRk.cjs +0 -58
- package/dist/wxml-CvKyV69S.js +0 -1822
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_web = require("../web-B2Ea9K4B.cjs");
|
|
3
|
+
//#region src/vite-web.ts
|
|
4
|
+
/**
|
|
5
|
+
* 创建面向普通 Vite Web 项目的 Tailwind 插件。
|
|
6
|
+
*
|
|
7
|
+
* 该入口固定 Web target,并跳过基于项目依赖的框架猜测;需要小程序、分包
|
|
8
|
+
* 或框架专用能力时,请继续使用 `weapp-tailwindcss/vite` 主入口。
|
|
9
|
+
*/
|
|
10
|
+
function WeappTailwindcssWeb(options = {}) {
|
|
11
|
+
const generator = options.generator && typeof options.generator === "object" ? {
|
|
12
|
+
...options.generator,
|
|
13
|
+
target: "web"
|
|
14
|
+
} : { target: "web" };
|
|
15
|
+
return require_web.createGenericWebVitePlugins({
|
|
16
|
+
...options,
|
|
17
|
+
appType: void 0,
|
|
18
|
+
platform: "web",
|
|
19
|
+
generator,
|
|
20
|
+
__internalViteForceGenericWeb: true
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/** 小写别名,兼容函数式 Vite 配置风格。 */
|
|
24
|
+
const weappTailwindcssWeb = WeappTailwindcssWeb;
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.WeappTailwindcssWeb = WeappTailwindcssWeb;
|
|
27
|
+
exports.weappTailwindcssWeb = weappTailwindcssWeb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../vite-web.js'
|
package/dist/vite/web.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as createGenericWebVitePlugins } from "../web-Cv7ualrU.js";
|
|
2
|
+
//#region src/vite-web.ts
|
|
3
|
+
/**
|
|
4
|
+
* 创建面向普通 Vite Web 项目的 Tailwind 插件。
|
|
5
|
+
*
|
|
6
|
+
* 该入口固定 Web target,并跳过基于项目依赖的框架猜测;需要小程序、分包
|
|
7
|
+
* 或框架专用能力时,请继续使用 `weapp-tailwindcss/vite` 主入口。
|
|
8
|
+
*/
|
|
9
|
+
function WeappTailwindcssWeb(options = {}) {
|
|
10
|
+
const generator = options.generator && typeof options.generator === "object" ? {
|
|
11
|
+
...options.generator,
|
|
12
|
+
target: "web"
|
|
13
|
+
} : { target: "web" };
|
|
14
|
+
return createGenericWebVitePlugins({
|
|
15
|
+
...options,
|
|
16
|
+
appType: void 0,
|
|
17
|
+
platform: "web",
|
|
18
|
+
generator,
|
|
19
|
+
__internalViteForceGenericWeb: true
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
/** 小写别名,兼容函数式 Vite 配置风格。 */
|
|
23
|
+
const weappTailwindcssWeb = WeappTailwindcssWeb;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { WeappTailwindcssWeb, weappTailwindcssWeb };
|