weapp-tailwindcss 4.10.2 → 4.10.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/dist/{chunk-IIDSY4XZ.js → chunk-6Z4GEN2Y.js} +2 -2
- package/dist/{chunk-I35XJD75.js → chunk-DEIJXHGJ.js} +28 -18
- package/dist/{chunk-MPVAZKRB.mjs → chunk-E7775SFS.mjs} +22 -12
- package/dist/{chunk-M2ATX5ZS.js → chunk-GCRL3ZYP.js} +5 -5
- package/dist/{chunk-NPZ5QQC7.js → chunk-L7OBNTRI.js} +7 -7
- package/dist/{chunk-BZCCVPSU.mjs → chunk-LICQ6EGN.mjs} +1 -1
- package/dist/{chunk-WJU62RPV.mjs → chunk-PALDKVKG.mjs} +47 -4
- package/dist/{chunk-N6JOG5K3.mjs → chunk-RM3SY4S4.mjs} +2 -2
- package/dist/{chunk-5APD2MNV.js → chunk-RYC23C3K.js} +4 -4
- package/dist/{chunk-HT76VHOV.mjs → chunk-TNYEOBAC.mjs} +1 -1
- package/dist/{chunk-ACNOEKQI.mjs → chunk-UYTCZXNE.mjs} +1 -1
- package/dist/{chunk-6VKE7EWV.js → chunk-W2N6G2QQ.js} +34 -34
- package/dist/{chunk-HJVZ4TO3.js → chunk-WF636Q5E.js} +5 -5
- package/dist/{chunk-LHBUALTK.mjs → chunk-WXT2GI5R.mjs} +4 -4
- package/dist/{chunk-3R7FDZJL.js → chunk-YJSFFRNZ.js} +69 -26
- package/dist/{chunk-DBAAU4LK.js → chunk-YUTKX7JZ.js} +1 -1
- package/dist/cli.js +39 -39
- package/dist/cli.mjs +2 -2
- package/dist/core.js +9 -9
- package/dist/core.mjs +3 -3
- package/dist/css-macro/postcss.js +1 -1
- package/dist/css-macro/postcss.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/gulp.js +6 -6
- package/dist/gulp.mjs +4 -4
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/dist/postcss-html-transform.js +1 -1
- package/dist/postcss-html-transform.mjs +1 -1
- package/dist/presets.js +5 -5
- package/dist/presets.mjs +1 -1
- package/dist/reset.js +1 -1
- package/dist/reset.mjs +1 -1
- package/dist/types.js +1 -1
- package/dist/types.mjs +1 -1
- package/dist/vite.js +7 -7
- package/dist/vite.mjs +4 -4
- package/dist/webpack.js +8 -8
- package/dist/webpack.mjs +5 -5
- package/dist/webpack4.js +35 -35
- package/dist/webpack4.mjs +4 -4
- package/package.json +5 -5
package/dist/webpack.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkW2N6G2QQjs = require('./chunk-W2N6G2QQ.js');
|
|
5
|
+
require('./chunk-WF636Q5E.js');
|
|
6
|
+
require('./chunk-6Z4GEN2Y.js');
|
|
7
7
|
require('./chunk-LTJQUORK.js');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-GCRL3ZYP.js');
|
|
9
|
+
require('./chunk-DEIJXHGJ.js');
|
|
10
|
+
require('./chunk-RYC23C3K.js');
|
|
11
11
|
require('./chunk-5U24PLVV.js');
|
|
12
12
|
require('./chunk-DYLQ6UOI.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-YUTKX7JZ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.UnifiedWebpackPluginV5 =
|
|
17
|
+
exports.UnifiedWebpackPluginV5 = _chunkW2N6G2QQjs.UnifiedWebpackPluginV5; exports.weappTailwindcssPackageDir = _chunkW2N6G2QQjs.weappTailwindcssPackageDir;
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnifiedWebpackPluginV5,
|
|
3
3
|
weappTailwindcssPackageDir
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WXT2GI5R.mjs";
|
|
5
|
+
import "./chunk-UYTCZXNE.mjs";
|
|
6
6
|
import "./chunk-F2CKKG6Q.mjs";
|
|
7
7
|
import "./chunk-RRHPTTCP.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LICQ6EGN.mjs";
|
|
9
|
+
import "./chunk-E7775SFS.mjs";
|
|
10
10
|
import "./chunk-QOTLDKI4.mjs";
|
|
11
11
|
import "./chunk-3WUHHFLF.mjs";
|
|
12
12
|
import "./chunk-OOHJLO5M.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TNYEOBAC.mjs";
|
|
14
14
|
export {
|
|
15
15
|
UnifiedWebpackPluginV5,
|
|
16
16
|
weappTailwindcssPackageDir
|
package/dist/webpack4.js
CHANGED
|
@@ -10,33 +10,33 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkWF636Q5Ejs = require('./chunk-WF636Q5E.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk6Z4GEN2Yjs = require('./chunk-6Z4GEN2Y.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkLTJQUORKjs = require('./chunk-LTJQUORK.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkGCRL3ZYPjs = require('./chunk-GCRL3ZYP.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
34
|
-
require('./chunk-
|
|
33
|
+
var _chunkDEIJXHGJjs = require('./chunk-DEIJXHGJ.js');
|
|
34
|
+
require('./chunk-RYC23C3K.js');
|
|
35
35
|
require('./chunk-5U24PLVV.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunkDYLQ6UOIjs = require('./chunk-DYLQ6UOI.js');
|
|
39
|
-
require('./chunk-
|
|
39
|
+
require('./chunk-YUTKX7JZ.js');
|
|
40
40
|
|
|
41
41
|
// src/bundlers/webpack/BaseUnifiedPlugin/v4.ts
|
|
42
42
|
var _process = require('process'); var _process2 = _interopRequireDefault(_process);
|
|
@@ -59,7 +59,7 @@ function setupWebpackV4EmitHook(options) {
|
|
|
59
59
|
runtimeState,
|
|
60
60
|
debug: debug2
|
|
61
61
|
} = options;
|
|
62
|
-
compiler.hooks.emit.tapPromise(
|
|
62
|
+
compiler.hooks.emit.tapPromise(_chunkDEIJXHGJjs.pluginName, async (compilation) => {
|
|
63
63
|
await runtimeState.patchPromise;
|
|
64
64
|
compilerOptions.onStart();
|
|
65
65
|
debug2("start");
|
|
@@ -68,20 +68,20 @@ function setupWebpackV4EmitHook(options) {
|
|
|
68
68
|
compilerOptions.cache.calcHashValueChanged(chunk.id, chunk.hash);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
const assetHashByChunk =
|
|
71
|
+
const assetHashByChunk = _chunkWF636Q5Ejs.createAssetHashByChunkMap.call(void 0, compilation.chunks);
|
|
72
72
|
const assets = compilation.assets;
|
|
73
73
|
const entries = Object.entries(assets);
|
|
74
74
|
const outputDir = _optionalChain([compiler, 'access', _ => _.options, 'optionalAccess', _2 => _2.output, 'optionalAccess', _3 => _3.path]) ? _path2.default.resolve(compiler.options.output.path) : _process2.default.cwd();
|
|
75
75
|
const jsAssets = /* @__PURE__ */ new Map();
|
|
76
76
|
for (const [file] of entries) {
|
|
77
77
|
if (compilerOptions.jsMatcher(file) || compilerOptions.wxsMatcher(file)) {
|
|
78
|
-
const absolute =
|
|
78
|
+
const absolute = _chunk6Z4GEN2Yjs.toAbsoluteOutputPath.call(void 0, file, outputDir);
|
|
79
79
|
jsAssets.set(absolute, file);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
const moduleGraphOptions = {
|
|
83
83
|
resolve(specifier, importer) {
|
|
84
|
-
return
|
|
84
|
+
return _chunk6Z4GEN2Yjs.resolveOutputSpecifier.call(void 0, specifier, importer, outputDir, (candidate) => jsAssets.has(candidate));
|
|
85
85
|
},
|
|
86
86
|
load: (id) => {
|
|
87
87
|
const assetName = jsAssets.get(id);
|
|
@@ -125,7 +125,7 @@ function setupWebpackV4EmitHook(options) {
|
|
|
125
125
|
};
|
|
126
126
|
const groupedEntries = _chunkDYLQ6UOIjs.getGroupedEntries.call(void 0, entries, compilerOptions);
|
|
127
127
|
const staleClassNameFallback = resolveWebpackStaleClassNameFallback(compilerOptions.staleClassNameFallback, compiler);
|
|
128
|
-
const runtimeSet = await
|
|
128
|
+
const runtimeSet = await _chunkDEIJXHGJjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
|
|
129
129
|
// webpack 的 script-only 热更新可能不会触发 runtime classset loader,
|
|
130
130
|
// 这里强制收集可避免沿用上轮 class set,保证 JS 仅按最新集合精确命中。
|
|
131
131
|
forceCollect: true,
|
|
@@ -170,14 +170,14 @@ function setupWebpackV4EmitHook(options) {
|
|
|
170
170
|
const jsTaskFactories = [];
|
|
171
171
|
if (Array.isArray(groupedEntries.js)) {
|
|
172
172
|
for (const [file] of groupedEntries.js) {
|
|
173
|
-
const cacheKey =
|
|
173
|
+
const cacheKey = _chunkWF636Q5Ejs.getCacheKey.call(void 0, file);
|
|
174
174
|
const assetSource = compilation.assets[file];
|
|
175
175
|
if (!assetSource) {
|
|
176
176
|
continue;
|
|
177
177
|
}
|
|
178
178
|
const initialValue = assetSource.source();
|
|
179
179
|
const initialRawSource = typeof initialValue === "string" ? initialValue : initialValue.toString();
|
|
180
|
-
const absoluteFile =
|
|
180
|
+
const absoluteFile = _chunk6Z4GEN2Yjs.toAbsoluteOutputPath.call(void 0, file, outputDir);
|
|
181
181
|
const chunkHash = assetHashByChunk.get(file);
|
|
182
182
|
jsTaskFactories.push(async () => {
|
|
183
183
|
await _chunkLTJQUORKjs.processCachedTask.call(void 0, {
|
|
@@ -258,7 +258,7 @@ function setupWebpackV4EmitHook(options) {
|
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
_chunk6Z4GEN2Yjs.pushConcurrentTaskFactories.call(void 0, tasks, jsTaskFactories);
|
|
262
262
|
await Promise.all(tasks);
|
|
263
263
|
debug2("end");
|
|
264
264
|
compilerOptions.onEnd();
|
|
@@ -281,9 +281,9 @@ function setupWebpackV4Loaders(options) {
|
|
|
281
281
|
getClassSetInLoader,
|
|
282
282
|
debug: debug2
|
|
283
283
|
} = options;
|
|
284
|
-
const isMpxApp =
|
|
284
|
+
const isMpxApp = _chunkWF636Q5Ejs.isMpx.call(void 0, appType);
|
|
285
285
|
if (shouldRewriteCssImports && isMpxApp) {
|
|
286
|
-
|
|
286
|
+
_chunkWF636Q5Ejs.ensureMpxTailwindcssAliases.call(void 0, compiler, weappTailwindcssPackageDir2);
|
|
287
287
|
}
|
|
288
288
|
const runtimeClassSetLoader = _nullishCoalesce(runtimeLoaderPath, () => ( _path2.default.resolve(__dirname, "./weapp-tw-runtime-classset-loader.js")));
|
|
289
289
|
const runtimeCssImportRewriteLoader = shouldRewriteCssImports ? _nullishCoalesce(runtimeCssImportRewriteLoaderPath, () => ( _path2.default.resolve(__dirname, "./weapp-tw-css-import-rewrite-loader.js"))) : void 0;
|
|
@@ -296,12 +296,12 @@ function setupWebpackV4Loaders(options) {
|
|
|
296
296
|
const classSetLoaderOptions = {
|
|
297
297
|
getClassSet: getClassSetInLoader
|
|
298
298
|
};
|
|
299
|
-
const { findRewriteAnchor, findClassSetAnchor } =
|
|
299
|
+
const { findRewriteAnchor, findClassSetAnchor } = _chunkWF636Q5Ejs.createLoaderAnchorFinders.call(void 0, appType);
|
|
300
300
|
const cssImportRewriteLoaderOptions = runtimeLoaderRewriteOptions ? {
|
|
301
301
|
rewriteCssImports: runtimeLoaderRewriteOptions
|
|
302
302
|
} : void 0;
|
|
303
303
|
if (runtimeCssImportRewriteLoader && shouldRewriteCssImports && cssImportRewriteLoaderOptions && isMpxApp) {
|
|
304
|
-
|
|
304
|
+
_chunkWF636Q5Ejs.injectMpxCssRewritePreRules.call(void 0, compiler, runtimeCssImportRewriteLoader, cssImportRewriteLoaderOptions);
|
|
305
305
|
}
|
|
306
306
|
const createRuntimeClassSetLoaderEntry = () => ({
|
|
307
307
|
loader: runtimeClassSetLoader,
|
|
@@ -320,19 +320,19 @@ function setupWebpackV4Loaders(options) {
|
|
|
320
320
|
type: null
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
|
-
compiler.hooks.compilation.tap(
|
|
324
|
-
compilation.hooks.normalModuleLoader.tap(
|
|
323
|
+
compiler.hooks.compilation.tap(_chunkDEIJXHGJjs.pluginName, (compilation) => {
|
|
324
|
+
compilation.hooks.normalModuleLoader.tap(_chunkDEIJXHGJjs.pluginName, (_loaderContext, module) => {
|
|
325
325
|
const hasRuntimeLoader = runtimeClassSetLoaderExists || runtimeCssImportRewriteLoaderExists;
|
|
326
326
|
if (!hasRuntimeLoader) {
|
|
327
327
|
return;
|
|
328
328
|
}
|
|
329
|
-
if (shouldRewriteCssImports &&
|
|
330
|
-
|
|
329
|
+
if (shouldRewriteCssImports && _chunkWF636Q5Ejs.isMpx.call(void 0, appType) && typeof _loaderContext.resolve === "function") {
|
|
330
|
+
_chunkWF636Q5Ejs.patchMpxLoaderResolve.call(void 0, _loaderContext, weappTailwindcssPackageDir2, true);
|
|
331
331
|
}
|
|
332
332
|
const loaderEntries = module.loaders || [];
|
|
333
333
|
let rewriteAnchorIdx = findRewriteAnchor(loaderEntries);
|
|
334
334
|
const classSetAnchorIdx = findClassSetAnchor(loaderEntries);
|
|
335
|
-
const isCssModule =
|
|
335
|
+
const isCssModule = _chunkWF636Q5Ejs.isCssLikeModuleResource.call(void 0, module.resource, compilerOptions.cssMatcher, appType);
|
|
336
336
|
if (_process2.default.env.WEAPP_TW_LOADER_DEBUG && isCssModule) {
|
|
337
337
|
debug2("loader hook css module: %s loaders=%o anchors=%o", module.resource, loaderEntries.map((x) => x.loader), { rewriteAnchorIdx, classSetAnchorIdx });
|
|
338
338
|
}
|
|
@@ -366,7 +366,7 @@ function setupWebpackV4Loaders(options) {
|
|
|
366
366
|
rewriteAnchorIdx = findRewriteAnchor(loaderEntries);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
if (runtimeClassSetLoaderExists && !
|
|
369
|
+
if (runtimeClassSetLoaderExists && !_chunkWF636Q5Ejs.hasLoaderEntry.call(void 0, loaderEntries, runtimeClassSetLoader)) {
|
|
370
370
|
const anchorIndex = findClassSetAnchor(loaderEntries);
|
|
371
371
|
if (anchorIndex === -1) {
|
|
372
372
|
anchorlessInsert(createRuntimeClassSetLoaderEntry(), "before");
|
|
@@ -380,11 +380,11 @@ function setupWebpackV4Loaders(options) {
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
// src/bundlers/webpack/BaseUnifiedPlugin/v4.ts
|
|
383
|
-
var debug =
|
|
384
|
-
var weappTailwindcssPackageDir =
|
|
383
|
+
var debug = _chunkDEIJXHGJjs.createDebug.call(void 0, );
|
|
384
|
+
var weappTailwindcssPackageDir = _chunk6Z4GEN2Yjs.resolvePackageDir.call(void 0, "weapp-tailwindcss");
|
|
385
385
|
var UnifiedWebpackPluginV4 = class {
|
|
386
386
|
constructor(options = {}) {
|
|
387
|
-
this.options =
|
|
387
|
+
this.options = _chunkDEIJXHGJjs.getCompilerContext.call(void 0, options);
|
|
388
388
|
this.appType = this.options.appType;
|
|
389
389
|
}
|
|
390
390
|
apply(compiler) {
|
|
@@ -397,22 +397,22 @@ var UnifiedWebpackPluginV4 = class {
|
|
|
397
397
|
twPatcher: initialTwPatcher,
|
|
398
398
|
refreshTailwindcssPatcher
|
|
399
399
|
} = this.options;
|
|
400
|
-
const disabledOptions =
|
|
400
|
+
const disabledOptions = _chunk6Z4GEN2Yjs.resolveDisabledOptions.call(void 0, disabled);
|
|
401
401
|
const isTailwindcssV4 = (_nullishCoalesce(initialTwPatcher.majorVersion, () => ( 0))) >= 4;
|
|
402
402
|
const shouldRewriteCssImports = isTailwindcssV4 && this.options.rewriteCssImports !== false && !disabledOptions.rewriteCssImports;
|
|
403
|
-
const isMpxApp =
|
|
403
|
+
const isMpxApp = _chunkWF636Q5Ejs.isMpx.call(void 0, this.appType);
|
|
404
404
|
if (shouldRewriteCssImports) {
|
|
405
|
-
|
|
405
|
+
_chunkWF636Q5Ejs.applyTailwindcssCssImportRewrite.call(void 0, compiler, {
|
|
406
406
|
pkgDir: weappTailwindcssPackageDir,
|
|
407
407
|
enabled: true,
|
|
408
408
|
appType: this.appType
|
|
409
409
|
});
|
|
410
|
-
|
|
410
|
+
_chunkWF636Q5Ejs.setupMpxTailwindcssRedirect.call(void 0, weappTailwindcssPackageDir, isMpxApp);
|
|
411
411
|
}
|
|
412
412
|
if (disabledOptions.plugin) {
|
|
413
413
|
return;
|
|
414
414
|
}
|
|
415
|
-
const patchRecorderState =
|
|
415
|
+
const patchRecorderState = _chunkGCRL3ZYPjs.setupPatchRecorder.call(void 0, initialTwPatcher, this.options.tailwindcssBasedir, {
|
|
416
416
|
source: "runtime",
|
|
417
417
|
cwd: _nullishCoalesce(this.options.tailwindcssBasedir, () => ( _process2.default.cwd()))
|
|
418
418
|
});
|
|
@@ -424,17 +424,17 @@ var UnifiedWebpackPluginV4 = class {
|
|
|
424
424
|
};
|
|
425
425
|
let runtimeSetPrepared = false;
|
|
426
426
|
let runtimeSetSignature;
|
|
427
|
-
compiler.hooks.compilation.tap(
|
|
427
|
+
compiler.hooks.compilation.tap(_chunkDEIJXHGJjs.pluginName, () => {
|
|
428
428
|
runtimeSetPrepared = false;
|
|
429
429
|
});
|
|
430
430
|
async function getClassSetInLoader() {
|
|
431
431
|
if (runtimeSetPrepared) {
|
|
432
432
|
return;
|
|
433
433
|
}
|
|
434
|
-
const signature =
|
|
434
|
+
const signature = _chunkDEIJXHGJjs.getRuntimeClassSetSignature.call(void 0, runtimeState.twPatcher);
|
|
435
435
|
const forceRefresh = signature !== runtimeSetSignature;
|
|
436
436
|
runtimeSetPrepared = true;
|
|
437
|
-
await
|
|
437
|
+
await _chunkDEIJXHGJjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
|
|
438
438
|
forceRefresh,
|
|
439
439
|
forceCollect: true,
|
|
440
440
|
clearCache: forceRefresh,
|
package/dist/webpack4.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isMpx,
|
|
11
11
|
patchMpxLoaderResolve,
|
|
12
12
|
setupMpxTailwindcssRedirect
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UYTCZXNE.mjs";
|
|
14
14
|
import {
|
|
15
15
|
pushConcurrentTaskFactories,
|
|
16
16
|
resolveDisabledOptions,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
} from "./chunk-RRHPTTCP.mjs";
|
|
24
24
|
import {
|
|
25
25
|
setupPatchRecorder
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LICQ6EGN.mjs";
|
|
27
27
|
import {
|
|
28
28
|
createDebug,
|
|
29
29
|
ensureRuntimeClassSet,
|
|
30
30
|
getCompilerContext,
|
|
31
31
|
getRuntimeClassSetSignature,
|
|
32
32
|
pluginName
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-E7775SFS.mjs";
|
|
34
34
|
import "./chunk-QOTLDKI4.mjs";
|
|
35
35
|
import "./chunk-3WUHHFLF.mjs";
|
|
36
36
|
import {
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-OOHJLO5M.mjs";
|
|
39
39
|
import {
|
|
40
40
|
__dirname
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TNYEOBAC.mjs";
|
|
42
42
|
|
|
43
43
|
// src/bundlers/webpack/BaseUnifiedPlugin/v4.ts
|
|
44
44
|
import process3 from "process";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-tailwindcss",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.3",
|
|
4
4
|
"description": "把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!",
|
|
5
5
|
"author": "ice breaker <1324318532@qq.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"@babel/parser": "~7.29.0",
|
|
168
168
|
"@babel/traverse": "~7.29.0",
|
|
169
169
|
"@babel/types": "~7.29.0",
|
|
170
|
-
"@tailwindcss-mangle/config": "^6.1.
|
|
170
|
+
"@tailwindcss-mangle/config": "^6.1.3",
|
|
171
171
|
"@vue/compiler-dom": "^3.5.28",
|
|
172
172
|
"@vue/compiler-sfc": "^3.5.28",
|
|
173
173
|
"@weapp-core/escape": "~7.0.0",
|
|
@@ -181,12 +181,12 @@
|
|
|
181
181
|
"lru-cache": "10.4.3",
|
|
182
182
|
"magic-string": "0.30.21",
|
|
183
183
|
"semver": "~7.7.4",
|
|
184
|
-
"tailwindcss-patch": "^8.7.
|
|
184
|
+
"tailwindcss-patch": "^8.7.3",
|
|
185
185
|
"webpack-sources": "3.3.4",
|
|
186
186
|
"yaml": "^2.8.2",
|
|
187
187
|
"@weapp-tailwindcss/postcss": "2.1.5",
|
|
188
|
-
"@weapp-tailwindcss/
|
|
189
|
-
"@weapp-tailwindcss/
|
|
188
|
+
"@weapp-tailwindcss/shared": "1.1.2",
|
|
189
|
+
"@weapp-tailwindcss/logger": "1.1.0"
|
|
190
190
|
},
|
|
191
191
|
"scripts": {
|
|
192
192
|
"dev": "tsup --watch --sourcemap",
|