weapp-tailwindcss 4.9.7 → 4.9.8-alpha.0
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-FM2RNYJD.mjs → chunk-2HORYQCB.mjs} +1 -1
- package/dist/{chunk-MOOFLCLC.js → chunk-35WZBSR2.js} +3 -3
- package/dist/{chunk-LST5YX7P.mjs → chunk-5VEPZUTO.mjs} +3 -3
- package/dist/{chunk-JW43IVZB.mjs → chunk-B76ICULV.mjs} +1 -1
- package/dist/{chunk-FNFWO6S4.mjs → chunk-FY4CU2TB.mjs} +7 -5
- package/dist/{chunk-SCAC7G77.mjs → chunk-IPXH3S3C.mjs} +2 -2
- package/dist/{chunk-UE6PEJJM.js → chunk-KBLYUEKE.js} +24 -24
- package/dist/{chunk-I5PM7RZP.js → chunk-KTUGHGKO.js} +7 -7
- package/dist/{chunk-EPL2YCB5.js → chunk-KUFBWA2F.js} +7 -5
- package/dist/{chunk-TBOY7KA4.mjs → chunk-LACRPTD6.mjs} +2 -2
- package/dist/{chunk-RIUV5UO7.js → chunk-WRVALWQL.js} +13 -13
- package/dist/{chunk-NSZXONXA.js → chunk-WVE6IP6G.js} +3 -3
- package/dist/cli.js +9 -9
- package/dist/cli.mjs +1 -1
- package/dist/core.d.mts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +8 -8
- package/dist/core.mjs +2 -2
- package/dist/defaults.d.mts +1 -1
- package/dist/defaults.d.ts +1 -1
- package/dist/gulp.d.mts +1 -1
- package/dist/gulp.d.ts +1 -1
- package/dist/gulp.js +4 -4
- package/dist/gulp.mjs +3 -3
- package/dist/{index-CPJD_vjs.d.mts → index-vGuAfNvT.d.mts} +10 -1
- package/dist/{index-CPJD_vjs.d.ts → index-vGuAfNvT.d.ts} +10 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +6 -6
- package/dist/presets.d.mts +2 -1
- package/dist/presets.d.ts +2 -1
- package/dist/presets.js +1 -0
- package/dist/presets.mjs +1 -0
- package/dist/types.d.mts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +4 -4
- package/dist/vite.mjs +3 -3
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +5 -5
- package/dist/webpack.mjs +4 -4
- package/dist/webpack4.d.mts +1 -1
- package/dist/webpack4.d.ts +1 -1
- package/dist/webpack4.js +24 -24
- package/dist/webpack4.mjs +3 -3
- package/package.json +5 -5
package/dist/core.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWVE6IP6Gjs = require('./chunk-WVE6IP6G.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKUFBWA2Fjs = require('./chunk-KUFBWA2F.js');
|
|
9
9
|
require('./chunk-PO3CCFU7.js');
|
|
10
10
|
require('./chunk-LBZCKOMT.js');
|
|
11
11
|
require('./chunk-DYLQ6UOI.js');
|
|
@@ -15,9 +15,9 @@ require('./chunk-HAM3JEU2.js');
|
|
|
15
15
|
var _process = require('process'); var _process2 = _interopRequireDefault(_process);
|
|
16
16
|
var _shared = require('@weapp-tailwindcss/shared');
|
|
17
17
|
function createContext(options = {}) {
|
|
18
|
-
const opts =
|
|
18
|
+
const opts = _chunkKUFBWA2Fjs.getCompilerContext.call(void 0, options);
|
|
19
19
|
const { templateHandler, styleHandler, jsHandler, twPatcher: initialTwPatcher, refreshTailwindcssPatcher } = opts;
|
|
20
|
-
const patchRecorderState =
|
|
20
|
+
const patchRecorderState = _chunkWVE6IP6Gjs.setupPatchRecorder.call(void 0, initialTwPatcher, opts.tailwindcssBasedir, {
|
|
21
21
|
source: "runtime",
|
|
22
22
|
cwd: _nullishCoalesce(opts.tailwindcssBasedir, () => ( _process2.default.cwd()))
|
|
23
23
|
});
|
|
@@ -29,7 +29,7 @@ function createContext(options = {}) {
|
|
|
29
29
|
onPatchCompleted: patchRecorderState.onPatchCompleted
|
|
30
30
|
};
|
|
31
31
|
async function refreshRuntimeState(force) {
|
|
32
|
-
await
|
|
32
|
+
await _chunkKUFBWA2Fjs.refreshTailwindRuntimeState.call(void 0, runtimeState, force);
|
|
33
33
|
}
|
|
34
34
|
async function transformWxss(rawCss, options2) {
|
|
35
35
|
await runtimeState.patchPromise;
|
|
@@ -38,7 +38,7 @@ function createContext(options = {}) {
|
|
|
38
38
|
}));
|
|
39
39
|
await refreshRuntimeState(true);
|
|
40
40
|
await runtimeState.patchPromise;
|
|
41
|
-
runtimeSet = await
|
|
41
|
+
runtimeSet = await _chunkKUFBWA2Fjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
|
|
42
42
|
return result;
|
|
43
43
|
}
|
|
44
44
|
async function transformJs(rawJs, options2 = {}) {
|
|
@@ -48,7 +48,7 @@ function createContext(options = {}) {
|
|
|
48
48
|
} else {
|
|
49
49
|
await refreshRuntimeState(true);
|
|
50
50
|
await runtimeState.patchPromise;
|
|
51
|
-
runtimeSet = await
|
|
51
|
+
runtimeSet = await _chunkKUFBWA2Fjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
|
|
52
52
|
}
|
|
53
53
|
return await jsHandler(rawJs, runtimeSet, options2);
|
|
54
54
|
}
|
|
@@ -57,7 +57,7 @@ function createContext(options = {}) {
|
|
|
57
57
|
if (!_optionalChain([options2, 'optionalAccess', _2 => _2.runtimeSet]) && runtimeSet.size === 0) {
|
|
58
58
|
await refreshRuntimeState(true);
|
|
59
59
|
await runtimeState.patchPromise;
|
|
60
|
-
runtimeSet = await
|
|
60
|
+
runtimeSet = await _chunkKUFBWA2Fjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
|
|
61
61
|
}
|
|
62
62
|
return templateHandler(rawWxml, _shared.defuOverrideArray.call(void 0, options2, {
|
|
63
63
|
runtimeSet
|
package/dist/core.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setupPatchRecorder
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B76ICULV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
collectRuntimeClassSet,
|
|
6
6
|
getCompilerContext,
|
|
7
7
|
refreshTailwindRuntimeState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FY4CU2TB.mjs";
|
|
9
9
|
import "./chunk-7D27E7TU.mjs";
|
|
10
10
|
import "./chunk-EGOFMIDI.mjs";
|
|
11
11
|
import "./chunk-OOHJLO5M.mjs";
|
package/dist/defaults.d.mts
CHANGED
package/dist/defaults.d.ts
CHANGED
package/dist/gulp.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITemplateHandlerOptions, CreateJsHandlerOptions } from './types.mjs';
|
|
2
2
|
import stream from 'node:stream';
|
|
3
|
-
import { U as UserDefinedOptions } from './index-
|
|
3
|
+
import { U as UserDefinedOptions } from './index-vGuAfNvT.mjs';
|
|
4
4
|
import { IStyleHandlerOptions } from '@weapp-tailwindcss/postcss';
|
|
5
5
|
import '@babel/parser';
|
|
6
6
|
import 'magic-string';
|
package/dist/gulp.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITemplateHandlerOptions, CreateJsHandlerOptions } from './types.js';
|
|
2
2
|
import stream from 'node:stream';
|
|
3
|
-
import { U as UserDefinedOptions } from './index-
|
|
3
|
+
import { U as UserDefinedOptions } from './index-vGuAfNvT.js';
|
|
4
4
|
import { IStyleHandlerOptions } from '@weapp-tailwindcss/postcss';
|
|
5
5
|
import '@babel/parser';
|
|
6
6
|
import 'magic-string';
|
package/dist/gulp.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKTUGHGKOjs = require('./chunk-KTUGHGKO.js');
|
|
4
4
|
require('./chunk-LTJQUORK.js');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-WVE6IP6G.js');
|
|
6
|
+
require('./chunk-KUFBWA2F.js');
|
|
7
7
|
require('./chunk-PO3CCFU7.js');
|
|
8
8
|
require('./chunk-LBZCKOMT.js');
|
|
9
9
|
require('./chunk-DYLQ6UOI.js');
|
|
10
10
|
require('./chunk-HAM3JEU2.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.createPlugins =
|
|
13
|
+
exports.createPlugins = _chunkKTUGHGKOjs.createPlugins;
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createPlugins
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IPXH3S3C.mjs";
|
|
4
4
|
import "./chunk-RRHPTTCP.mjs";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-B76ICULV.mjs";
|
|
6
|
+
import "./chunk-FY4CU2TB.mjs";
|
|
7
7
|
import "./chunk-7D27E7TU.mjs";
|
|
8
8
|
import "./chunk-EGOFMIDI.mjs";
|
|
9
9
|
import "./chunk-OOHJLO5M.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ParserOptions } from '@babel/parser';
|
|
2
|
-
import { LoadedPostcssOptions, CssPreflightOptions, CssCalcOptions, Rem2rpxOptions, Px2rpxOptions, PresetEnvOptions } from '@weapp-tailwindcss/postcss';
|
|
2
|
+
import { LoadedPostcssOptions, CssPreflightOptions, CssCalcOptions, Rem2rpxOptions, Px2rpxOptions, UnitsToPxOptions, PresetEnvOptions } from '@weapp-tailwindcss/postcss';
|
|
3
3
|
import { ILengthUnitsPatchOptions, TailwindcssPatchOptions } from 'tailwindcss-patch';
|
|
4
4
|
import { Buffer } from 'node:buffer';
|
|
5
5
|
import { sources } from 'webpack';
|
|
@@ -459,6 +459,15 @@ interface UserDefinedOptionsImportantPart {
|
|
|
459
459
|
* 传入 `true` 启用默认映射(`1px = 1rpx`),或通过对象自定义更多行为。
|
|
460
460
|
*/
|
|
461
461
|
px2rpx?: boolean | Px2rpxOptions;
|
|
462
|
+
/**
|
|
463
|
+
* 多单位转 px 的转换配置。
|
|
464
|
+
*
|
|
465
|
+
* @group 0.重要配置
|
|
466
|
+
* @remarks
|
|
467
|
+
* 传入 `true` 启用默认映射(postcss-units-to-px 默认单位表),或通过对象自定义行为。
|
|
468
|
+
* 默认关闭。
|
|
469
|
+
*/
|
|
470
|
+
unitsToPx?: boolean | UnitsToPxOptions;
|
|
462
471
|
/**
|
|
463
472
|
* `postcss-preset-env` 的配置项。
|
|
464
473
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ParserOptions } from '@babel/parser';
|
|
2
|
-
import { LoadedPostcssOptions, CssPreflightOptions, CssCalcOptions, Rem2rpxOptions, Px2rpxOptions, PresetEnvOptions } from '@weapp-tailwindcss/postcss';
|
|
2
|
+
import { LoadedPostcssOptions, CssPreflightOptions, CssCalcOptions, Rem2rpxOptions, Px2rpxOptions, UnitsToPxOptions, PresetEnvOptions } from '@weapp-tailwindcss/postcss';
|
|
3
3
|
import { ILengthUnitsPatchOptions, TailwindcssPatchOptions } from 'tailwindcss-patch';
|
|
4
4
|
import { Buffer } from 'node:buffer';
|
|
5
5
|
import { sources } from 'webpack';
|
|
@@ -459,6 +459,15 @@ interface UserDefinedOptionsImportantPart {
|
|
|
459
459
|
* 传入 `true` 启用默认映射(`1px = 1rpx`),或通过对象自定义更多行为。
|
|
460
460
|
*/
|
|
461
461
|
px2rpx?: boolean | Px2rpxOptions;
|
|
462
|
+
/**
|
|
463
|
+
* 多单位转 px 的转换配置。
|
|
464
|
+
*
|
|
465
|
+
* @group 0.重要配置
|
|
466
|
+
* @remarks
|
|
467
|
+
* 传入 `true` 启用默认映射(postcss-units-to-px 默认单位表),或通过对象自定义行为。
|
|
468
|
+
* 默认关闭。
|
|
469
|
+
*/
|
|
470
|
+
unitsToPx?: boolean | UnitsToPxOptions;
|
|
462
471
|
/**
|
|
463
472
|
* `postcss-preset-env` 的配置项。
|
|
464
473
|
*
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ export { createPlugins } from './gulp.mjs';
|
|
|
2
2
|
export { CreateJsHandlerOptions, IBaseWebpackPlugin, ICommonReplaceOptions, IJsHandlerOptions, ITemplateHandlerOptions, InternalPatchResult, InternalPostcssOptions, InternalUserDefinedOptions, JsHandler, JsHandlerResult, JsModuleGraphOptions, LinkedJsModuleResult, RefreshTailwindcssPatcherOptions, TailwindcssPatcherLike } from './types.mjs';
|
|
3
3
|
export { UnifiedViteWeappTailwindcssPlugin } from './vite.mjs';
|
|
4
4
|
export { UnifiedWebpackPluginV5, weappTailwindcssPackageDir } from './webpack.mjs';
|
|
5
|
-
export { A as AppType, D as DisabledOptions, I as IArbitraryValues, a as ICustomAttributes, b as ICustomAttributesEntities, c as ItemOrItemArray, U as UserDefinedOptions } from './index-
|
|
5
|
+
export { A as AppType, D as DisabledOptions, I as IArbitraryValues, a as ICustomAttributes, b as ICustomAttributesEntities, c as ItemOrItemArray, U as UserDefinedOptions } from './index-vGuAfNvT.mjs';
|
|
6
6
|
export { CssPreflightOptions, IStyleHandlerOptions } from '@weapp-tailwindcss/postcss';
|
|
7
7
|
import 'node:stream';
|
|
8
8
|
import '@babel/parser';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { createPlugins } from './gulp.js';
|
|
|
2
2
|
export { CreateJsHandlerOptions, IBaseWebpackPlugin, ICommonReplaceOptions, IJsHandlerOptions, ITemplateHandlerOptions, InternalPatchResult, InternalPostcssOptions, InternalUserDefinedOptions, JsHandler, JsHandlerResult, JsModuleGraphOptions, LinkedJsModuleResult, RefreshTailwindcssPatcherOptions, TailwindcssPatcherLike } from './types.js';
|
|
3
3
|
export { UnifiedViteWeappTailwindcssPlugin } from './vite.js';
|
|
4
4
|
export { UnifiedWebpackPluginV5, weappTailwindcssPackageDir } from './webpack.js';
|
|
5
|
-
export { A as AppType, D as DisabledOptions, I as IArbitraryValues, a as ICustomAttributes, b as ICustomAttributesEntities, c as ItemOrItemArray, U as UserDefinedOptions } from './index-
|
|
5
|
+
export { A as AppType, D as DisabledOptions, I as IArbitraryValues, a as ICustomAttributes, b as ICustomAttributesEntities, c as ItemOrItemArray, U as UserDefinedOptions } from './index-vGuAfNvT.js';
|
|
6
6
|
export { CssPreflightOptions, IStyleHandlerOptions } from '@weapp-tailwindcss/postcss';
|
|
7
7
|
import 'node:stream';
|
|
8
8
|
import '@babel/parser';
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkKBLYUEKEjs = require('./chunk-KBLYUEKE.js');
|
|
5
|
+
require('./chunk-35WZBSR2.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKTUGHGKOjs = require('./chunk-KTUGHGKO.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkWRVALWQLjs = require('./chunk-WRVALWQL.js');
|
|
12
12
|
require('./chunk-DOX3RXJ2.js');
|
|
13
13
|
require('./chunk-LTJQUORK.js');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-WVE6IP6G.js');
|
|
15
|
+
require('./chunk-KUFBWA2F.js');
|
|
16
16
|
require('./chunk-PO3CCFU7.js');
|
|
17
17
|
require('./chunk-LBZCKOMT.js');
|
|
18
18
|
require('./chunk-DYLQ6UOI.js');
|
|
@@ -22,4 +22,4 @@ require('./chunk-HAM3JEU2.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.UnifiedViteWeappTailwindcssPlugin =
|
|
25
|
+
exports.UnifiedViteWeappTailwindcssPlugin = _chunkWRVALWQLjs.UnifiedViteWeappTailwindcssPlugin; exports.UnifiedWebpackPluginV5 = _chunkKBLYUEKEjs.UnifiedWebpackPluginV5; exports.createPlugins = _chunkKTUGHGKOjs.createPlugins; exports.weappTailwindcssPackageDir = _chunkKBLYUEKEjs.weappTailwindcssPackageDir;
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnifiedWebpackPluginV5,
|
|
3
3
|
weappTailwindcssPackageDir
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-5VEPZUTO.mjs";
|
|
5
|
+
import "./chunk-2HORYQCB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
createPlugins
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IPXH3S3C.mjs";
|
|
9
9
|
import {
|
|
10
10
|
UnifiedViteWeappTailwindcssPlugin
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LACRPTD6.mjs";
|
|
12
12
|
import "./chunk-F2CKKG6Q.mjs";
|
|
13
13
|
import "./chunk-RRHPTTCP.mjs";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-B76ICULV.mjs";
|
|
15
|
+
import "./chunk-FY4CU2TB.mjs";
|
|
16
16
|
import "./chunk-7D27E7TU.mjs";
|
|
17
17
|
import "./chunk-EGOFMIDI.mjs";
|
|
18
18
|
import "./chunk-OOHJLO5M.mjs";
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PackageResolvingOptions } from 'local-pkg';
|
|
2
|
-
import { U as UserDefinedOptions } from './index-
|
|
2
|
+
import { U as UserDefinedOptions } from './index-vGuAfNvT.mjs';
|
|
3
3
|
import '@babel/parser';
|
|
4
4
|
import '@weapp-tailwindcss/postcss';
|
|
5
5
|
import 'tailwindcss-patch';
|
|
@@ -24,6 +24,7 @@ interface UniAppXOptions {
|
|
|
24
24
|
base: string;
|
|
25
25
|
cssEntries?: string[];
|
|
26
26
|
rem2rpx?: UserDefinedOptions['rem2rpx'];
|
|
27
|
+
unitsToPx?: UserDefinedOptions['unitsToPx'];
|
|
27
28
|
rawOptions?: UserDefinedOptions;
|
|
28
29
|
resolve?: PackageResolvingOptions;
|
|
29
30
|
customAttributes?: UserDefinedOptions['customAttributes'];
|
package/dist/presets.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PackageResolvingOptions } from 'local-pkg';
|
|
2
|
-
import { U as UserDefinedOptions } from './index-
|
|
2
|
+
import { U as UserDefinedOptions } from './index-vGuAfNvT.js';
|
|
3
3
|
import '@babel/parser';
|
|
4
4
|
import '@weapp-tailwindcss/postcss';
|
|
5
5
|
import 'tailwindcss-patch';
|
|
@@ -24,6 +24,7 @@ interface UniAppXOptions {
|
|
|
24
24
|
base: string;
|
|
25
25
|
cssEntries?: string[];
|
|
26
26
|
rem2rpx?: UserDefinedOptions['rem2rpx'];
|
|
27
|
+
unitsToPx?: UserDefinedOptions['unitsToPx'];
|
|
27
28
|
rawOptions?: UserDefinedOptions;
|
|
28
29
|
resolve?: PackageResolvingOptions;
|
|
29
30
|
customAttributes?: UserDefinedOptions['customAttributes'];
|
package/dist/presets.js
CHANGED
package/dist/presets.mjs
CHANGED
package/dist/types.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ export { CssPreflightOptions, IStyleHandlerOptions } from '@weapp-tailwindcss/po
|
|
|
4
4
|
import { SourceMap } from 'magic-string';
|
|
5
5
|
import { Result, Root, Document } from 'postcss';
|
|
6
6
|
import { ILengthUnitsPatchOptions, TailwindcssPatcher } from 'tailwindcss-patch';
|
|
7
|
-
import { I as IArbitraryValues, U as UserDefinedOptions, b as ICustomAttributesEntities, d as ICreateCacheReturnType, A as AppType } from './index-
|
|
8
|
-
export { D as DisabledOptions, a as ICustomAttributes, c as ItemOrItemArray } from './index-
|
|
7
|
+
import { I as IArbitraryValues, U as UserDefinedOptions, b as ICustomAttributesEntities, d as ICreateCacheReturnType, A as AppType } from './index-vGuAfNvT.mjs';
|
|
8
|
+
export { D as DisabledOptions, a as ICustomAttributes, c as ItemOrItemArray } from './index-vGuAfNvT.mjs';
|
|
9
9
|
import 'node:buffer';
|
|
10
10
|
import 'webpack';
|
|
11
11
|
import 'lru-cache';
|
package/dist/types.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { CssPreflightOptions, IStyleHandlerOptions } from '@weapp-tailwindcss/po
|
|
|
4
4
|
import { SourceMap } from 'magic-string';
|
|
5
5
|
import { Result, Root, Document } from 'postcss';
|
|
6
6
|
import { ILengthUnitsPatchOptions, TailwindcssPatcher } from 'tailwindcss-patch';
|
|
7
|
-
import { I as IArbitraryValues, U as UserDefinedOptions, b as ICustomAttributesEntities, d as ICreateCacheReturnType, A as AppType } from './index-
|
|
8
|
-
export { D as DisabledOptions, a as ICustomAttributes, c as ItemOrItemArray } from './index-
|
|
7
|
+
import { I as IArbitraryValues, U as UserDefinedOptions, b as ICustomAttributesEntities, d as ICreateCacheReturnType, A as AppType } from './index-vGuAfNvT.js';
|
|
8
|
+
export { D as DisabledOptions, a as ICustomAttributes, c as ItemOrItemArray } from './index-vGuAfNvT.js';
|
|
9
9
|
import 'node:buffer';
|
|
10
10
|
import 'webpack';
|
|
11
11
|
import 'lru-cache';
|
package/dist/vite.d.mts
CHANGED
package/dist/vite.d.ts
CHANGED
package/dist/vite.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWRVALWQLjs = require('./chunk-WRVALWQL.js');
|
|
4
4
|
require('./chunk-DOX3RXJ2.js');
|
|
5
5
|
require('./chunk-LTJQUORK.js');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-WVE6IP6G.js');
|
|
7
|
+
require('./chunk-KUFBWA2F.js');
|
|
8
8
|
require('./chunk-PO3CCFU7.js');
|
|
9
9
|
require('./chunk-LBZCKOMT.js');
|
|
10
10
|
require('./chunk-DYLQ6UOI.js');
|
|
11
11
|
require('./chunk-HAM3JEU2.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.UnifiedViteWeappTailwindcssPlugin =
|
|
14
|
+
exports.UnifiedViteWeappTailwindcssPlugin = _chunkWRVALWQLjs.UnifiedViteWeappTailwindcssPlugin;
|
package/dist/vite.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnifiedViteWeappTailwindcssPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LACRPTD6.mjs";
|
|
4
4
|
import "./chunk-F2CKKG6Q.mjs";
|
|
5
5
|
import "./chunk-RRHPTTCP.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-B76ICULV.mjs";
|
|
7
|
+
import "./chunk-FY4CU2TB.mjs";
|
|
8
8
|
import "./chunk-7D27E7TU.mjs";
|
|
9
9
|
import "./chunk-EGOFMIDI.mjs";
|
|
10
10
|
import "./chunk-OOHJLO5M.mjs";
|
package/dist/webpack.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Compiler } from 'webpack';
|
|
2
2
|
import { IBaseWebpackPlugin, InternalUserDefinedOptions } from './types.mjs';
|
|
3
|
-
import { A as AppType, U as UserDefinedOptions } from './index-
|
|
3
|
+
import { A as AppType, U as UserDefinedOptions } from './index-vGuAfNvT.mjs';
|
|
4
4
|
import '@babel/parser';
|
|
5
5
|
import '@weapp-tailwindcss/postcss';
|
|
6
6
|
import 'magic-string';
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Compiler } from 'webpack';
|
|
2
2
|
import { IBaseWebpackPlugin, InternalUserDefinedOptions } from './types.js';
|
|
3
|
-
import { A as AppType, U as UserDefinedOptions } from './index-
|
|
3
|
+
import { A as AppType, U as UserDefinedOptions } from './index-vGuAfNvT.js';
|
|
4
4
|
import '@babel/parser';
|
|
5
5
|
import '@weapp-tailwindcss/postcss';
|
|
6
6
|
import 'magic-string';
|
package/dist/webpack.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkKBLYUEKEjs = require('./chunk-KBLYUEKE.js');
|
|
5
|
+
require('./chunk-35WZBSR2.js');
|
|
6
6
|
require('./chunk-DOX3RXJ2.js');
|
|
7
7
|
require('./chunk-LTJQUORK.js');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-WVE6IP6G.js');
|
|
9
|
+
require('./chunk-KUFBWA2F.js');
|
|
10
10
|
require('./chunk-PO3CCFU7.js');
|
|
11
11
|
require('./chunk-LBZCKOMT.js');
|
|
12
12
|
require('./chunk-DYLQ6UOI.js');
|
|
@@ -14,4 +14,4 @@ require('./chunk-HAM3JEU2.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.UnifiedWebpackPluginV5 =
|
|
17
|
+
exports.UnifiedWebpackPluginV5 = _chunkKBLYUEKEjs.UnifiedWebpackPluginV5; exports.weappTailwindcssPackageDir = _chunkKBLYUEKEjs.weappTailwindcssPackageDir;
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnifiedWebpackPluginV5,
|
|
3
3
|
weappTailwindcssPackageDir
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-5VEPZUTO.mjs";
|
|
5
|
+
import "./chunk-2HORYQCB.mjs";
|
|
6
6
|
import "./chunk-F2CKKG6Q.mjs";
|
|
7
7
|
import "./chunk-RRHPTTCP.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-B76ICULV.mjs";
|
|
9
|
+
import "./chunk-FY4CU2TB.mjs";
|
|
10
10
|
import "./chunk-7D27E7TU.mjs";
|
|
11
11
|
import "./chunk-EGOFMIDI.mjs";
|
|
12
12
|
import "./chunk-OOHJLO5M.mjs";
|
package/dist/webpack4.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Compiler } from 'webpack4';
|
|
2
2
|
import { IBaseWebpackPlugin, InternalUserDefinedOptions } from './types.mjs';
|
|
3
|
-
import { A as AppType, U as UserDefinedOptions } from './index-
|
|
3
|
+
import { A as AppType, U as UserDefinedOptions } from './index-vGuAfNvT.mjs';
|
|
4
4
|
import '@babel/parser';
|
|
5
5
|
import '@weapp-tailwindcss/postcss';
|
|
6
6
|
import 'magic-string';
|
package/dist/webpack4.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Compiler } from 'webpack4';
|
|
2
2
|
import { IBaseWebpackPlugin, InternalUserDefinedOptions } from './types.js';
|
|
3
|
-
import { A as AppType, U as UserDefinedOptions } from './index-
|
|
3
|
+
import { A as AppType, U as UserDefinedOptions } from './index-vGuAfNvT.js';
|
|
4
4
|
import '@babel/parser';
|
|
5
5
|
import '@weapp-tailwindcss/postcss';
|
|
6
6
|
import 'magic-string';
|