weapp-tailwindcss 3.3.7 → 3.4.0-alpha.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/dist/chunk-23B34GUU.js +126 -0
- package/dist/chunk-33GCHXV2.js +953 -0
- package/dist/chunk-556KTBON.js +31 -0
- package/dist/chunk-6Z776ZWK.js +43 -0
- package/dist/chunk-75EWCRQW.mjs +13 -0
- package/dist/chunk-76AXDOI5.js +173 -0
- package/dist/chunk-77FRX3XG.js +30 -0
- package/dist/chunk-AB467PG7.mjs +43 -0
- package/dist/chunk-D7TNNBED.js +95 -0
- package/dist/chunk-E7XGHGC7.mjs +62 -0
- package/dist/chunk-F7IR3ASC.mjs +152 -0
- package/dist/chunk-GUE4UCRJ.mjs +126 -0
- package/dist/chunk-H62TECOL.js +216 -0
- package/dist/chunk-HBQASQKY.js +13 -0
- package/dist/chunk-IOYI6MSW.mjs +533 -0
- package/dist/chunk-JMMU4NZL.mjs +173 -0
- package/dist/chunk-KR2M4GD3.mjs +953 -0
- package/dist/chunk-LYLCSEZ7.js +152 -0
- package/dist/chunk-NVFWRLOI.mjs +27 -0
- package/dist/chunk-ODCGCGWM.js +533 -0
- package/dist/chunk-ORMKM6ZA.mjs +30 -0
- package/dist/chunk-S2GPPMOJ.js +27 -0
- package/dist/chunk-SRLZU2YE.mjs +95 -0
- package/dist/chunk-U2UGOG3R.js +62 -0
- package/dist/chunk-VECXHWWG.mjs +31 -0
- package/dist/chunk-Z3EH2XYL.mjs +216 -0
- package/dist/cli.d.mts +2 -0
- package/dist/cli.d.ts +2 -1
- package/dist/cli.js +32 -51
- package/dist/cli.mjs +34 -46
- package/dist/core.d.mts +22 -0
- package/dist/core.d.ts +16 -2
- package/dist/core.js +43 -63
- package/dist/core.mjs +46 -62
- package/dist/css-macro/index.d.mts +18 -0
- package/dist/css-macro/index.d.ts +7 -4
- package/dist/css-macro/index.js +37 -34
- package/dist/css-macro/index.mjs +35 -28
- package/dist/css-macro/postcss.d.mts +7 -0
- package/dist/css-macro/postcss.d.ts +5 -3
- package/dist/css-macro/postcss.js +54 -45
- package/dist/css-macro/postcss.mjs +54 -45
- package/dist/defaults.d.mts +16 -0
- package/dist/defaults.d.ts +16 -2
- package/dist/defaults.js +6 -9
- package/dist/defaults.mjs +9 -4
- package/dist/gulp.d.mts +26 -0
- package/dist/gulp.d.ts +26 -1
- package/dist/gulp.js +12 -37
- package/dist/gulp.mjs +15 -32
- package/dist/index.d.mts +17 -0
- package/dist/index.d.ts +17 -4
- package/dist/index.js +23 -44
- package/dist/index.mjs +23 -34
- package/dist/postcss.d.mts +23 -0
- package/dist/postcss.d.ts +23 -1
- package/dist/postcss.js +10 -24
- package/dist/postcss.mjs +17 -8
- package/dist/replace.d.mts +19 -0
- package/dist/replace.d.ts +19 -3
- package/dist/replace.js +30 -50
- package/dist/replace.mjs +30 -26
- package/dist/types-DSNuiOhH.d.mts +519 -0
- package/dist/types-DSNuiOhH.d.ts +519 -0
- package/dist/vite.d.mts +22 -0
- package/dist/vite.d.ts +22 -1
- package/dist/vite.js +12 -35
- package/dist/vite.mjs +15 -30
- package/dist/weapp-tw-runtime-loader.d.mts +7 -0
- package/dist/{bundlers/webpack/loaders/weapp-tw-runtime-loader.d.ts → weapp-tw-runtime-loader.d.ts} +4 -2
- package/dist/weapp-tw-runtime-loader.js +12 -12
- package/dist/weapp-tw-runtime-loader.mjs +12 -8
- package/dist/webpack.d.mts +26 -0
- package/dist/webpack.d.ts +26 -1
- package/dist/webpack.js +12 -35
- package/dist/webpack.mjs +15 -30
- package/dist/webpack4.d.mts +27 -0
- package/dist/webpack4.d.ts +27 -1
- package/dist/webpack4.js +205 -192
- package/dist/webpack4.mjs +211 -189
- package/package.json +18 -19
- package/dist/babel/index.d.ts +0 -16
- package/dist/bundlers/gulp/index.d.ts +0 -8
- package/dist/bundlers/vite/index.d.ts +0 -3
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v4.d.ts +0 -8
- package/dist/bundlers/webpack/BaseUnifiedPlugin/v5.d.ts +0 -8
- package/dist/bundlers/webpack/index.d.ts +0 -1
- package/dist/cache/index.d.ts +0 -32
- package/dist/constants-CFM1J-h1.js +0 -42
- package/dist/constants-Dy2Dd3Fz.mjs +0 -36
- package/dist/constants.d.ts +0 -7
- package/dist/css-macro/constants.d.ts +0 -14
- package/dist/debug/index.d.ts +0 -2
- package/dist/defaults-DUZZvtdg.mjs +0 -149
- package/dist/defaults-syv_N3uk.js +0 -156
- package/dist/defu-Cdz2PomB.js +0 -60
- package/dist/defu-n46TJT6t.mjs +0 -57
- package/dist/env.d.ts +0 -2
- package/dist/escape.d.ts +0 -4
- package/dist/extractors/split.d.ts +0 -3
- package/dist/index-B8TOcVAt.js +0 -130
- package/dist/index-BEIjgKpF.mjs +0 -11
- package/dist/index-BKZH-Gxq.mjs +0 -134
- package/dist/index-BPzIdybK.mjs +0 -513
- package/dist/index-Bc61v7B0.mjs +0 -124
- package/dist/index-DXeB6ex8.js +0 -136
- package/dist/index-DwZHOkK3.js +0 -526
- package/dist/index-HC-Qkn0i.js +0 -17
- package/dist/js/handlers.d.ts +0 -13
- package/dist/js/index.d.ts +0 -7
- package/dist/mangle/index.d.ts +0 -8
- package/dist/options-BHJnjA_a.mjs +0 -981
- package/dist/options-DAp5AdGz.js +0 -1014
- package/dist/options.d.ts +0 -2
- package/dist/postcss/cssVars.d.ts +0 -5
- package/dist/postcss/index.d.ts +0 -3
- package/dist/postcss/mp.d.ts +0 -8
- package/dist/postcss/plugins/ctx.d.ts +0 -6
- package/dist/postcss/plugins/index.d.ts +0 -7
- package/dist/postcss/plugins/post.d.ts +0 -5
- package/dist/postcss/plugins/pre.d.ts +0 -5
- package/dist/postcss/preflight.d.ts +0 -3
- package/dist/postcss/selectorParser.d.ts +0 -6
- package/dist/postcss/shared.d.ts +0 -3
- package/dist/postcss/symbols.d.ts +0 -1
- package/dist/reg.d.ts +0 -1
- package/dist/shared-DbJl6i6a.mjs +0 -25
- package/dist/shared-hzYeE1wX.js +0 -28
- package/dist/tailwindcss/patcher.d.ts +0 -8
- package/dist/tailwindcss/supportCustomUnit.d.ts +0 -6
- package/dist/types.d.ts +0 -179
- package/dist/utils.d.ts +0 -18
- package/dist/v5-B9S3lBOs.mjs +0 -174
- package/dist/v5-QURRYPNk.js +0 -181
- package/dist/wxml/Tokenizer.d.ts +0 -31
- package/dist/wxml/index.d.ts +0 -2
- package/dist/wxml/shared.d.ts +0 -2
- package/dist/wxml/utils.d.ts +0 -9
|
@@ -1,49 +1,58 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ifdef,
|
|
3
|
+
ifndef,
|
|
4
|
+
matchCustomPropertyFromValue
|
|
5
|
+
} from "../chunk-AB467PG7.mjs";
|
|
6
|
+
import "../chunk-E7XGHGC7.mjs";
|
|
2
7
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (/#(?:ifn?def|endif)/.test(comment.text)) {
|
|
39
|
-
comment.raws.left = ' ';
|
|
40
|
-
comment.raws.right = ' ';
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
};
|
|
8
|
+
// src/css-macro/postcss.ts
|
|
9
|
+
var creator = () => {
|
|
10
|
+
return {
|
|
11
|
+
postcssPlugin: "postcss-weapp-tw-css-macro-plugin",
|
|
12
|
+
prepare() {
|
|
13
|
+
return {
|
|
14
|
+
AtRule(atRule, helper) {
|
|
15
|
+
var _a;
|
|
16
|
+
if (atRule.name === "media") {
|
|
17
|
+
const values = [];
|
|
18
|
+
matchCustomPropertyFromValue(atRule.params, (arr) => {
|
|
19
|
+
values.push(arr[1]);
|
|
20
|
+
});
|
|
21
|
+
if (values.length > 0) {
|
|
22
|
+
const isNegative = atRule.params.includes("not");
|
|
23
|
+
const text = values.join(" ");
|
|
24
|
+
const comment = isNegative ? ifndef(text) : ifdef(text);
|
|
25
|
+
atRule.replaceWith([
|
|
26
|
+
helper.comment({
|
|
27
|
+
raws: {
|
|
28
|
+
before: "\n"
|
|
29
|
+
},
|
|
30
|
+
text: comment.start
|
|
31
|
+
}),
|
|
32
|
+
...(_a = atRule.nodes) != null ? _a : [],
|
|
33
|
+
// .map((x) => x.clone()),
|
|
34
|
+
helper.comment({
|
|
35
|
+
raws: {
|
|
36
|
+
before: "\n"
|
|
37
|
+
},
|
|
38
|
+
text: comment.end
|
|
39
|
+
})
|
|
40
|
+
]);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
44
43
|
},
|
|
45
|
-
|
|
44
|
+
CommentExit(comment) {
|
|
45
|
+
if (/#(?:ifn?def|endif)/.test(comment.text)) {
|
|
46
|
+
comment.raws.left = " ";
|
|
47
|
+
comment.raws.right = " ";
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
};
|
|
46
53
|
};
|
|
47
54
|
creator.postcss = true;
|
|
48
|
-
|
|
49
|
-
export {
|
|
55
|
+
var postcss_default = creator;
|
|
56
|
+
export {
|
|
57
|
+
postcss_default as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { U as UserDefinedOptions } from './types-DSNuiOhH.mjs';
|
|
2
|
+
import 'postcss';
|
|
3
|
+
import '@tailwindcss-mangle/shared';
|
|
4
|
+
import 'magic-string';
|
|
5
|
+
import '@babel/generator';
|
|
6
|
+
import '@babel/parser';
|
|
7
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
8
|
+
import 'postcss-load-config';
|
|
9
|
+
import 'tailwindcss-patch';
|
|
10
|
+
import 'node:buffer';
|
|
11
|
+
import 'lru-cache';
|
|
12
|
+
import 'webpack';
|
|
13
|
+
|
|
14
|
+
declare const defaultOptions: UserDefinedOptions;
|
|
15
|
+
|
|
16
|
+
export { defaultOptions };
|
package/dist/defaults.d.ts
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { U as UserDefinedOptions } from './types-DSNuiOhH.js';
|
|
2
|
+
import 'postcss';
|
|
3
|
+
import '@tailwindcss-mangle/shared';
|
|
4
|
+
import 'magic-string';
|
|
5
|
+
import '@babel/generator';
|
|
6
|
+
import '@babel/parser';
|
|
7
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
8
|
+
import 'postcss-load-config';
|
|
9
|
+
import 'tailwindcss-patch';
|
|
10
|
+
import 'node:buffer';
|
|
11
|
+
import 'lru-cache';
|
|
12
|
+
import 'webpack';
|
|
13
|
+
|
|
14
|
+
declare const defaultOptions: UserDefinedOptions;
|
|
15
|
+
|
|
16
|
+
export { defaultOptions };
|
package/dist/defaults.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _chunkD7TNNBEDjs = require('./chunk-D7TNNBED.js');
|
|
4
|
+
require('./chunk-23B34GUU.js');
|
|
5
|
+
require('./chunk-556KTBON.js');
|
|
6
|
+
require('./chunk-U2UGOG3R.js');
|
|
4
7
|
|
|
5
|
-
var defaults = require('./defaults-syv_N3uk.js');
|
|
6
|
-
require('@weapp-core/escape');
|
|
7
|
-
require('@ast-core/escape');
|
|
8
|
-
require('./defu-Cdz2PomB.js');
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.defaultOptions = defaults.defaultOptions;
|
|
9
|
+
exports.defaultOptions = _chunkD7TNNBEDjs.defaultOptions;
|
package/dist/defaults.mjs
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
defaultOptions
|
|
3
|
+
} from "./chunk-SRLZU2YE.mjs";
|
|
4
|
+
import "./chunk-GUE4UCRJ.mjs";
|
|
5
|
+
import "./chunk-VECXHWWG.mjs";
|
|
6
|
+
import "./chunk-E7XGHGC7.mjs";
|
|
7
|
+
export {
|
|
8
|
+
defaultOptions
|
|
9
|
+
};
|
package/dist/gulp.d.mts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import stream from 'node:stream';
|
|
2
|
+
import { U as UserDefinedOptions, e as IStyleHandlerOptions, p as ITemplateHandlerOptions, u as CreateJsHandlerOptions } from './types-DSNuiOhH.mjs';
|
|
3
|
+
import 'postcss';
|
|
4
|
+
import '@tailwindcss-mangle/shared';
|
|
5
|
+
import 'magic-string';
|
|
6
|
+
import '@babel/generator';
|
|
7
|
+
import '@babel/parser';
|
|
8
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
9
|
+
import 'postcss-load-config';
|
|
10
|
+
import 'tailwindcss-patch';
|
|
11
|
+
import 'node:buffer';
|
|
12
|
+
import 'lru-cache';
|
|
13
|
+
import 'webpack';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @name weapp-tw-gulp
|
|
17
|
+
* @description gulp版本weapp-tw插件
|
|
18
|
+
* @link https://weapp-tw.icebreaker.top/docs/quick-start/frameworks/native
|
|
19
|
+
*/
|
|
20
|
+
declare function createPlugins(options?: UserDefinedOptions): {
|
|
21
|
+
transformWxss: (options?: Partial<IStyleHandlerOptions>) => stream.Transform;
|
|
22
|
+
transformWxml: (options?: Partial<ITemplateHandlerOptions>) => stream.Transform;
|
|
23
|
+
transformJs: (options?: Partial<CreateJsHandlerOptions>) => stream.Transform;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { createPlugins };
|
package/dist/gulp.d.ts
CHANGED
|
@@ -1 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import stream from 'node:stream';
|
|
2
|
+
import { U as UserDefinedOptions, e as IStyleHandlerOptions, p as ITemplateHandlerOptions, u as CreateJsHandlerOptions } from './types-DSNuiOhH.js';
|
|
3
|
+
import 'postcss';
|
|
4
|
+
import '@tailwindcss-mangle/shared';
|
|
5
|
+
import 'magic-string';
|
|
6
|
+
import '@babel/generator';
|
|
7
|
+
import '@babel/parser';
|
|
8
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
9
|
+
import 'postcss-load-config';
|
|
10
|
+
import 'tailwindcss-patch';
|
|
11
|
+
import 'node:buffer';
|
|
12
|
+
import 'lru-cache';
|
|
13
|
+
import 'webpack';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @name weapp-tw-gulp
|
|
17
|
+
* @description gulp版本weapp-tw插件
|
|
18
|
+
* @link https://weapp-tw.icebreaker.top/docs/quick-start/frameworks/native
|
|
19
|
+
*/
|
|
20
|
+
declare function createPlugins(options?: UserDefinedOptions): {
|
|
21
|
+
transformWxss: (options?: Partial<IStyleHandlerOptions>) => stream.Transform;
|
|
22
|
+
transformWxml: (options?: Partial<ITemplateHandlerOptions>) => stream.Transform;
|
|
23
|
+
transformJs: (options?: Partial<CreateJsHandlerOptions>) => stream.Transform;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { createPlugins };
|
package/dist/gulp.js
CHANGED
|
@@ -1,40 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _chunkLYLCSEZ7js = require('./chunk-LYLCSEZ7.js');
|
|
4
|
+
require('./chunk-HBQASQKY.js');
|
|
5
|
+
require('./chunk-33GCHXV2.js');
|
|
6
|
+
require('./chunk-D7TNNBED.js');
|
|
7
|
+
require('./chunk-23B34GUU.js');
|
|
8
|
+
require('./chunk-ODCGCGWM.js');
|
|
9
|
+
require('./chunk-S2GPPMOJ.js');
|
|
10
|
+
require('./chunk-77FRX3XG.js');
|
|
11
|
+
require('./chunk-556KTBON.js');
|
|
12
|
+
require('./chunk-U2UGOG3R.js');
|
|
4
13
|
|
|
5
|
-
var index = require('./index-B8TOcVAt.js');
|
|
6
|
-
require('./options-DAp5AdGz.js');
|
|
7
|
-
require('magic-string');
|
|
8
|
-
require('./replace.js');
|
|
9
|
-
require('@weapp-core/escape');
|
|
10
|
-
require('@ast-core/escape');
|
|
11
|
-
require('./shared-hzYeE1wX.js');
|
|
12
|
-
require('@weapp-core/regex');
|
|
13
|
-
require('@babel/generator');
|
|
14
|
-
require('@babel/traverse');
|
|
15
|
-
require('@babel/parser');
|
|
16
|
-
require('./defaults-syv_N3uk.js');
|
|
17
|
-
require('./defu-Cdz2PomB.js');
|
|
18
|
-
require('@babel/types');
|
|
19
|
-
require('htmlparser2');
|
|
20
|
-
require('postcss');
|
|
21
|
-
require('./index-DwZHOkK3.js');
|
|
22
|
-
require('@csstools/postcss-is-pseudo-class');
|
|
23
|
-
require('postcss-rem-to-responsive-pixel');
|
|
24
|
-
require('postcss-selector-parser');
|
|
25
|
-
require('node:path');
|
|
26
|
-
require('node:fs');
|
|
27
|
-
require('node:process');
|
|
28
|
-
require('semver');
|
|
29
|
-
require('tailwindcss-patch');
|
|
30
|
-
require('@tailwindcss-mangle/shared');
|
|
31
|
-
require('lru-cache');
|
|
32
|
-
require('md5');
|
|
33
|
-
require('node:stream');
|
|
34
|
-
require('node:buffer');
|
|
35
|
-
require('./index-HC-Qkn0i.js');
|
|
36
|
-
require('debug');
|
|
37
14
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
exports.createPlugins = index.createPlugins;
|
|
15
|
+
exports.createPlugins = _chunkLYLCSEZ7js.createPlugins;
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import 'postcss';
|
|
17
|
-
import './index-BPzIdybK.mjs';
|
|
18
|
-
import '@csstools/postcss-is-pseudo-class';
|
|
19
|
-
import 'postcss-rem-to-responsive-pixel';
|
|
20
|
-
import 'postcss-selector-parser';
|
|
21
|
-
import 'node:path';
|
|
22
|
-
import 'node:fs';
|
|
23
|
-
import 'node:process';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'tailwindcss-patch';
|
|
26
|
-
import '@tailwindcss-mangle/shared';
|
|
27
|
-
import 'lru-cache';
|
|
28
|
-
import 'md5';
|
|
29
|
-
import 'node:stream';
|
|
30
|
-
import 'node:buffer';
|
|
31
|
-
import './index-BEIjgKpF.mjs';
|
|
32
|
-
import 'debug';
|
|
1
|
+
import {
|
|
2
|
+
createPlugins
|
|
3
|
+
} from "./chunk-F7IR3ASC.mjs";
|
|
4
|
+
import "./chunk-75EWCRQW.mjs";
|
|
5
|
+
import "./chunk-KR2M4GD3.mjs";
|
|
6
|
+
import "./chunk-SRLZU2YE.mjs";
|
|
7
|
+
import "./chunk-GUE4UCRJ.mjs";
|
|
8
|
+
import "./chunk-IOYI6MSW.mjs";
|
|
9
|
+
import "./chunk-NVFWRLOI.mjs";
|
|
10
|
+
import "./chunk-ORMKM6ZA.mjs";
|
|
11
|
+
import "./chunk-VECXHWWG.mjs";
|
|
12
|
+
import "./chunk-E7XGHGC7.mjs";
|
|
13
|
+
export {
|
|
14
|
+
createPlugins
|
|
15
|
+
};
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { UnifiedWebpackPluginV5 } from './webpack.mjs';
|
|
2
|
+
export { UnifiedViteWeappTailwindcssPlugin } from './vite.mjs';
|
|
3
|
+
export { createPlugins } from './gulp.mjs';
|
|
4
|
+
export { A as AppType, u as CreateJsHandlerOptions, b as CssPreflightOptions, C as CssPresetProps, c as CustomRuleCallback, l as IArbitraryValues, s as IBaseWebpackPlugin, o as ICommonReplaceOptions, g as ICustomAttributes, h as ICustomAttributesEntities, i as IJsHandlerOptions, k as IMangleOptions, n as IMangleScopeContext, a as IPropValue, e as IStyleHandlerOptions, p as ITemplateHandlerOptions, d as InternalCssSelectorReplacerOptions, t as InternalPatchResult, r as InternalPostcssOptions, q as InternalUserDefinedOptions, I as ItemOrItemArray, m as JsHandler, J as JsHandlerReplaceResult, f as JsHandlerResult, j as RawSource, R as RequiredStyleHandlerOptions, U as UserDefinedOptions } from './types-DSNuiOhH.mjs';
|
|
5
|
+
import 'webpack';
|
|
6
|
+
import 'vite';
|
|
7
|
+
import 'node:stream';
|
|
8
|
+
import 'postcss';
|
|
9
|
+
import '@tailwindcss-mangle/shared';
|
|
10
|
+
import 'magic-string';
|
|
11
|
+
import '@babel/generator';
|
|
12
|
+
import '@babel/parser';
|
|
13
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
14
|
+
import 'postcss-load-config';
|
|
15
|
+
import 'tailwindcss-patch';
|
|
16
|
+
import 'node:buffer';
|
|
17
|
+
import 'lru-cache';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { UnifiedWebpackPluginV5 } from './webpack.js';
|
|
2
|
+
export { UnifiedViteWeappTailwindcssPlugin } from './vite.js';
|
|
3
|
+
export { createPlugins } from './gulp.js';
|
|
4
|
+
export { A as AppType, u as CreateJsHandlerOptions, b as CssPreflightOptions, C as CssPresetProps, c as CustomRuleCallback, l as IArbitraryValues, s as IBaseWebpackPlugin, o as ICommonReplaceOptions, g as ICustomAttributes, h as ICustomAttributesEntities, i as IJsHandlerOptions, k as IMangleOptions, n as IMangleScopeContext, a as IPropValue, e as IStyleHandlerOptions, p as ITemplateHandlerOptions, d as InternalCssSelectorReplacerOptions, t as InternalPatchResult, r as InternalPostcssOptions, q as InternalUserDefinedOptions, I as ItemOrItemArray, m as JsHandler, J as JsHandlerReplaceResult, f as JsHandlerResult, j as RawSource, R as RequiredStyleHandlerOptions, U as UserDefinedOptions } from './types-DSNuiOhH.js';
|
|
5
|
+
import 'webpack';
|
|
6
|
+
import 'vite';
|
|
7
|
+
import 'node:stream';
|
|
8
|
+
import 'postcss';
|
|
9
|
+
import '@tailwindcss-mangle/shared';
|
|
10
|
+
import 'magic-string';
|
|
11
|
+
import '@babel/generator';
|
|
12
|
+
import '@babel/parser';
|
|
13
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
14
|
+
import 'postcss-load-config';
|
|
15
|
+
import 'tailwindcss-patch';
|
|
16
|
+
import 'node:buffer';
|
|
17
|
+
import 'lru-cache';
|
package/dist/index.js
CHANGED
|
@@ -1,44 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
require('
|
|
10
|
-
require('./
|
|
11
|
-
require('
|
|
12
|
-
require('
|
|
13
|
-
require('./
|
|
14
|
-
require('
|
|
15
|
-
require('
|
|
16
|
-
require('
|
|
17
|
-
require('
|
|
18
|
-
require('./
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
require('@csstools/postcss-is-pseudo-class');
|
|
25
|
-
require('postcss-rem-to-responsive-pixel');
|
|
26
|
-
require('postcss-selector-parser');
|
|
27
|
-
require('node:path');
|
|
28
|
-
require('node:fs');
|
|
29
|
-
require('node:process');
|
|
30
|
-
require('semver');
|
|
31
|
-
require('tailwindcss-patch');
|
|
32
|
-
require('@tailwindcss-mangle/shared');
|
|
33
|
-
require('lru-cache');
|
|
34
|
-
require('md5');
|
|
35
|
-
require('./index-HC-Qkn0i.js');
|
|
36
|
-
require('debug');
|
|
37
|
-
require('node:stream');
|
|
38
|
-
require('node:buffer');
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
exports.UnifiedWebpackPluginV5 = v5.UnifiedWebpackPluginV5;
|
|
43
|
-
exports.UnifiedViteWeappTailwindcssPlugin = index.UnifiedViteWeappTailwindcssPlugin;
|
|
44
|
-
exports.createPlugins = index$1.createPlugins;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkH62TECOLjs = require('./chunk-H62TECOL.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkLYLCSEZ7js = require('./chunk-LYLCSEZ7.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk76AXDOI5js = require('./chunk-76AXDOI5.js');
|
|
10
|
+
require('./chunk-HBQASQKY.js');
|
|
11
|
+
require('./chunk-33GCHXV2.js');
|
|
12
|
+
require('./chunk-D7TNNBED.js');
|
|
13
|
+
require('./chunk-23B34GUU.js');
|
|
14
|
+
require('./chunk-ODCGCGWM.js');
|
|
15
|
+
require('./chunk-S2GPPMOJ.js');
|
|
16
|
+
require('./chunk-77FRX3XG.js');
|
|
17
|
+
require('./chunk-556KTBON.js');
|
|
18
|
+
require('./chunk-U2UGOG3R.js');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.UnifiedViteWeappTailwindcssPlugin = _chunk76AXDOI5js.UnifiedViteWeappTailwindcssPlugin; exports.UnifiedWebpackPluginV5 = _chunkH62TECOLjs.UnifiedWebpackPluginV5; exports.createPlugins = _chunkLYLCSEZ7js.createPlugins;
|
package/dist/index.mjs
CHANGED
|
@@ -1,34 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
import 'node:fs';
|
|
25
|
-
import 'node:process';
|
|
26
|
-
import 'semver';
|
|
27
|
-
import 'tailwindcss-patch';
|
|
28
|
-
import '@tailwindcss-mangle/shared';
|
|
29
|
-
import 'lru-cache';
|
|
30
|
-
import 'md5';
|
|
31
|
-
import './index-BEIjgKpF.mjs';
|
|
32
|
-
import 'debug';
|
|
33
|
-
import 'node:stream';
|
|
34
|
-
import 'node:buffer';
|
|
1
|
+
import {
|
|
2
|
+
UnifiedWebpackPluginV5
|
|
3
|
+
} from "./chunk-Z3EH2XYL.mjs";
|
|
4
|
+
import {
|
|
5
|
+
createPlugins
|
|
6
|
+
} from "./chunk-F7IR3ASC.mjs";
|
|
7
|
+
import {
|
|
8
|
+
UnifiedViteWeappTailwindcssPlugin
|
|
9
|
+
} from "./chunk-JMMU4NZL.mjs";
|
|
10
|
+
import "./chunk-75EWCRQW.mjs";
|
|
11
|
+
import "./chunk-KR2M4GD3.mjs";
|
|
12
|
+
import "./chunk-SRLZU2YE.mjs";
|
|
13
|
+
import "./chunk-GUE4UCRJ.mjs";
|
|
14
|
+
import "./chunk-IOYI6MSW.mjs";
|
|
15
|
+
import "./chunk-NVFWRLOI.mjs";
|
|
16
|
+
import "./chunk-ORMKM6ZA.mjs";
|
|
17
|
+
import "./chunk-VECXHWWG.mjs";
|
|
18
|
+
import "./chunk-E7XGHGC7.mjs";
|
|
19
|
+
export {
|
|
20
|
+
UnifiedViteWeappTailwindcssPlugin,
|
|
21
|
+
UnifiedWebpackPluginV5,
|
|
22
|
+
createPlugins
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PluginCreator, AcceptedPlugin } from 'postcss';
|
|
2
|
+
import { e as IStyleHandlerOptions } from './types-DSNuiOhH.mjs';
|
|
3
|
+
export { default as postcssIsPseudoClass } from '@csstools/postcss-is-pseudo-class';
|
|
4
|
+
export { default as postcssRem2rpx } from 'postcss-rem-to-responsive-pixel';
|
|
5
|
+
import '@tailwindcss-mangle/shared';
|
|
6
|
+
import 'magic-string';
|
|
7
|
+
import '@babel/generator';
|
|
8
|
+
import '@babel/parser';
|
|
9
|
+
import 'postcss-load-config';
|
|
10
|
+
import 'tailwindcss-patch';
|
|
11
|
+
import 'node:buffer';
|
|
12
|
+
import 'lru-cache';
|
|
13
|
+
import 'webpack';
|
|
14
|
+
|
|
15
|
+
type PostcssWeappTailwindcssRenamePlugin$1 = PluginCreator<IStyleHandlerOptions>;
|
|
16
|
+
declare const postcssWeappTailwindcssPostPlugin: PostcssWeappTailwindcssRenamePlugin$1;
|
|
17
|
+
|
|
18
|
+
type PostcssWeappTailwindcssRenamePlugin = PluginCreator<IStyleHandlerOptions>;
|
|
19
|
+
declare const postcssWeappTailwindcssPrePlugin: PostcssWeappTailwindcssRenamePlugin;
|
|
20
|
+
|
|
21
|
+
declare function getPlugins(options: IStyleHandlerOptions): AcceptedPlugin[];
|
|
22
|
+
|
|
23
|
+
export { getPlugins, postcssWeappTailwindcssPostPlugin, postcssWeappTailwindcssPrePlugin };
|
package/dist/postcss.d.ts
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
import { PluginCreator, AcceptedPlugin } from 'postcss';
|
|
2
|
+
import { e as IStyleHandlerOptions } from './types-DSNuiOhH.js';
|
|
3
|
+
export { default as postcssIsPseudoClass } from '@csstools/postcss-is-pseudo-class';
|
|
4
|
+
export { default as postcssRem2rpx } from 'postcss-rem-to-responsive-pixel';
|
|
5
|
+
import '@tailwindcss-mangle/shared';
|
|
6
|
+
import 'magic-string';
|
|
7
|
+
import '@babel/generator';
|
|
8
|
+
import '@babel/parser';
|
|
9
|
+
import 'postcss-load-config';
|
|
10
|
+
import 'tailwindcss-patch';
|
|
11
|
+
import 'node:buffer';
|
|
12
|
+
import 'lru-cache';
|
|
13
|
+
import 'webpack';
|
|
14
|
+
|
|
15
|
+
type PostcssWeappTailwindcssRenamePlugin$1 = PluginCreator<IStyleHandlerOptions>;
|
|
16
|
+
declare const postcssWeappTailwindcssPostPlugin: PostcssWeappTailwindcssRenamePlugin$1;
|
|
17
|
+
|
|
18
|
+
type PostcssWeappTailwindcssRenamePlugin = PluginCreator<IStyleHandlerOptions>;
|
|
19
|
+
declare const postcssWeappTailwindcssPrePlugin: PostcssWeappTailwindcssRenamePlugin;
|
|
20
|
+
|
|
21
|
+
declare function getPlugins(options: IStyleHandlerOptions): AcceptedPlugin[];
|
|
22
|
+
|
|
23
|
+
export { getPlugins, postcssWeappTailwindcssPostPlugin, postcssWeappTailwindcssPrePlugin };
|
package/dist/postcss.js
CHANGED
|
@@ -1,31 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
3
|
|
|
5
|
-
var index = require('./index-DwZHOkK3.js');
|
|
6
|
-
var postcssIsPseudoClass = require('@csstools/postcss-is-pseudo-class');
|
|
7
|
-
var postcssRem2rpx = require('postcss-rem-to-responsive-pixel');
|
|
8
|
-
require('postcss-selector-parser');
|
|
9
|
-
require('./shared-hzYeE1wX.js');
|
|
10
|
-
require('@weapp-core/escape');
|
|
11
|
-
require('@ast-core/escape');
|
|
12
|
-
require('postcss');
|
|
13
4
|
|
|
14
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
5
|
|
|
16
|
-
var postcssIsPseudoClass__default = /*#__PURE__*/_interopDefaultCompat(postcssIsPseudoClass);
|
|
17
|
-
var postcssRem2rpx__default = /*#__PURE__*/_interopDefaultCompat(postcssRem2rpx);
|
|
18
6
|
|
|
7
|
+
var _chunkODCGCGWMjs = require('./chunk-ODCGCGWM.js'); var _chunkODCGCGWMjs2 = _interopRequireDefault(_chunkODCGCGWMjs);
|
|
8
|
+
require('./chunk-77FRX3XG.js');
|
|
9
|
+
require('./chunk-556KTBON.js');
|
|
10
|
+
require('./chunk-U2UGOG3R.js');
|
|
19
11
|
|
|
20
12
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
get: function () { return postcssIsPseudoClass__default["default"]; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "postcssRem2rpx", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return postcssRem2rpx__default["default"]; }
|
|
31
|
-
});
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.getPlugins = _chunkODCGCGWMjs.getPlugins; exports.postcssIsPseudoClass = _chunkODCGCGWMjs2.default; exports.postcssRem2rpx = _chunkODCGCGWMjs.default2; exports.postcssWeappTailwindcssPostPlugin = _chunkODCGCGWMjs.postcssWeappTailwindcssPostPlugin; exports.postcssWeappTailwindcssPrePlugin = _chunkODCGCGWMjs.postcssWeappTailwindcssPrePlugin;
|
package/dist/postcss.mjs
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
default as default2,
|
|
3
|
+
default2 as default3,
|
|
4
|
+
getPlugins,
|
|
5
|
+
postcssWeappTailwindcssPostPlugin,
|
|
6
|
+
postcssWeappTailwindcssPrePlugin
|
|
7
|
+
} from "./chunk-IOYI6MSW.mjs";
|
|
8
|
+
import "./chunk-ORMKM6ZA.mjs";
|
|
9
|
+
import "./chunk-VECXHWWG.mjs";
|
|
10
|
+
import "./chunk-E7XGHGC7.mjs";
|
|
11
|
+
export {
|
|
12
|
+
getPlugins,
|
|
13
|
+
default2 as postcssIsPseudoClass,
|
|
14
|
+
default3 as postcssRem2rpx,
|
|
15
|
+
postcssWeappTailwindcssPostPlugin,
|
|
16
|
+
postcssWeappTailwindcssPrePlugin
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { MappingChars2String, MappingChars2StringEntries, MappingStringDictionary, SYMBOL_TABLE, SYMBOL_TABLE_TYPE, SYMBOL_TABLE_TYPE_VALUES, SimpleMappingChars2String, SimpleMappingChars2StringEntries } from '@weapp-core/escape';
|
|
2
|
+
import { p as ITemplateHandlerOptions, d as InternalCssSelectorReplacerOptions } from './types-DSNuiOhH.mjs';
|
|
3
|
+
import 'postcss';
|
|
4
|
+
import '@tailwindcss-mangle/shared';
|
|
5
|
+
import 'magic-string';
|
|
6
|
+
import '@babel/generator';
|
|
7
|
+
import '@babel/parser';
|
|
8
|
+
import 'postcss-rem-to-responsive-pixel';
|
|
9
|
+
import 'postcss-load-config';
|
|
10
|
+
import 'tailwindcss-patch';
|
|
11
|
+
import 'node:buffer';
|
|
12
|
+
import 'lru-cache';
|
|
13
|
+
import 'webpack';
|
|
14
|
+
|
|
15
|
+
declare function replaceWxml(original: string, options?: ITemplateHandlerOptions): string;
|
|
16
|
+
|
|
17
|
+
declare function internalCssSelectorReplacer(selectors: string, options?: InternalCssSelectorReplacerOptions): string;
|
|
18
|
+
|
|
19
|
+
export { internalCssSelectorReplacer as replaceCss, replaceWxml as replaceJs };
|