weapp-tailwindcss 4.8.6 → 4.8.8

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.
Files changed (60) hide show
  1. package/dist/chunk-2E724WCE.js +138 -0
  2. package/dist/{chunk-YUMLYTPN.js → chunk-2KZ4VTIA.js} +19 -117
  3. package/dist/{chunk-67CD2S5L.mjs → chunk-3IP5JCFZ.mjs} +1 -1
  4. package/dist/{chunk-ZSTF2AEN.js → chunk-3URI7W6X.js} +11 -1
  5. package/dist/{chunk-3XGTIDA6.mjs → chunk-6TO3GT5S.mjs} +476 -190
  6. package/dist/chunk-BYXBJQAS.js +1 -0
  7. package/dist/{chunk-UUHV4D5B.js → chunk-E7PFK6BW.js} +122 -43
  8. package/dist/{chunk-OPM3REFF.mjs → chunk-FB3ASCHC.mjs} +2 -2
  9. package/dist/{chunk-AUKQJILC.mjs → chunk-IH3HQU7U.mjs} +191 -127
  10. package/dist/{chunk-M4KLNEHT.js → chunk-L5ER4544.js} +5 -5
  11. package/dist/{chunk-UTZLVU3M.js → chunk-M4NERJO7.js} +1 -1
  12. package/dist/{chunk-SR4OOLTF.mjs → chunk-M5UEOYBI.mjs} +2 -2
  13. package/dist/{chunk-RJRLVYVJ.js → chunk-P3AQCOOM.js} +471 -185
  14. package/dist/chunk-PVJDRL3I.mjs +138 -0
  15. package/dist/{chunk-DKPIYG24.mjs → chunk-QF65JGNW.mjs} +11 -1
  16. package/dist/{chunk-B2IA5GC7.mjs → chunk-RUXC4E2M.mjs} +8 -106
  17. package/dist/{chunk-JW7P34IH.mjs → chunk-RYGPCUUT.mjs} +65 -58
  18. package/dist/{chunk-KWRRSLTH.mjs → chunk-UTCO4JMJ.mjs} +104 -25
  19. package/dist/{chunk-BWKCXQQH.js → chunk-WF4UE272.js} +211 -147
  20. package/dist/{chunk-AB45L5FP.js → chunk-XHR5K5ZT.js} +57 -51
  21. package/dist/{chunk-PMCA6PRQ.js → chunk-Y5XG47XY.js} +7 -7
  22. package/dist/cli.js +39 -32
  23. package/dist/cli.mjs +12 -5
  24. package/dist/core.js +11 -11
  25. package/dist/core.mjs +5 -5
  26. package/dist/css-macro/postcss.js +1 -1
  27. package/dist/css-macro/postcss.mjs +1 -1
  28. package/dist/css-macro.js +1 -1
  29. package/dist/css-macro.mjs +1 -1
  30. package/dist/defaults.js +3 -3
  31. package/dist/defaults.mjs +2 -2
  32. package/dist/gulp.js +7 -7
  33. package/dist/gulp.mjs +6 -6
  34. package/dist/index.js +11 -11
  35. package/dist/index.mjs +10 -10
  36. package/dist/postcss-html-transform.js +1 -1
  37. package/dist/postcss-html-transform.mjs +1 -1
  38. package/dist/presets.js +4 -4
  39. package/dist/presets.mjs +2 -2
  40. package/dist/reset.js +1 -1
  41. package/dist/reset.mjs +1 -1
  42. package/dist/types.d.mts +7 -0
  43. package/dist/types.d.ts +7 -0
  44. package/dist/types.js +1 -1
  45. package/dist/types.mjs +1 -1
  46. package/dist/vite.js +8 -8
  47. package/dist/vite.mjs +7 -7
  48. package/dist/{weapp-tw-runtime-loader.js → weapp-tw-css-import-rewrite-loader.js} +52 -15
  49. package/dist/weapp-tw-runtime-classset-loader.js +23 -0
  50. package/dist/webpack.d.mts +0 -1
  51. package/dist/webpack.d.ts +0 -1
  52. package/dist/webpack.js +9 -9
  53. package/dist/webpack.mjs +8 -8
  54. package/dist/webpack4.d.mts +0 -1
  55. package/dist/webpack4.d.ts +0 -1
  56. package/dist/webpack4.js +126 -44
  57. package/dist/webpack4.mjs +108 -26
  58. package/package.json +6 -6
  59. package/dist/chunk-EK7ECLBW.js +0 -61
  60. package/dist/chunk-NQS4LYVY.mjs +0 -61
@@ -0,0 +1 @@
1
+ "use strict";
@@ -1,26 +1,36 @@
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
3
 
4
- var _chunkEK7ECLBWjs = require('./chunk-EK7ECLBW.js');
5
4
 
6
5
 
7
6
 
7
+ var _chunk2E724WCEjs = require('./chunk-2E724WCE.js');
8
8
 
9
9
 
10
- var _chunkAB45L5FPjs = require('./chunk-AB45L5FP.js');
10
+
11
+
12
+
13
+ var _chunkXHR5K5ZTjs = require('./chunk-XHR5K5ZT.js');
11
14
 
12
15
 
13
16
  var _chunkLTJQUORKjs = require('./chunk-LTJQUORK.js');
14
17
 
15
18
 
16
- var _chunkM4KLNEHTjs = require('./chunk-M4KLNEHT.js');
19
+ var _chunkL5ER4544js = require('./chunk-L5ER4544.js');
20
+
21
+
22
+
23
+
17
24
 
18
25
 
26
+ var _chunk2KZ4VTIAjs = require('./chunk-2KZ4VTIA.js');
19
27
 
20
28
 
21
29
 
22
30
 
23
- var _chunkYUMLYTPNjs = require('./chunk-YUMLYTPN.js');
31
+
32
+
33
+ var _chunkP3AQCOOMjs = require('./chunk-P3AQCOOM.js');
24
34
 
25
35
 
26
36
  var _chunkUW3WHSZ5js = require('./chunk-UW3WHSZ5.js');
@@ -29,15 +39,15 @@ var _chunkUW3WHSZ5js = require('./chunk-UW3WHSZ5.js');
29
39
  var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
30
40
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
31
41
  var _process = require('process'); var _process2 = _interopRequireDefault(_process);
32
- var debug = _chunkYUMLYTPNjs.createDebug.call(void 0, );
33
- var weappTailwindcssPackageDir = _chunkAB45L5FPjs.resolvePackageDir.call(void 0, "weapp-tailwindcss");
42
+ var debug = _chunk2KZ4VTIAjs.createDebug.call(void 0, );
43
+ var weappTailwindcssPackageDir = _chunkXHR5K5ZTjs.resolvePackageDir.call(void 0, "weapp-tailwindcss");
34
44
  var UnifiedWebpackPluginV5 = class {
35
45
  constructor(options = {}) {
36
- this.options = _chunkYUMLYTPNjs.getCompilerContext.call(void 0, options);
37
- this.userSpecifiedRewriteCssImports = Object.prototype.hasOwnProperty.call(options, "rewriteCssImports");
46
+ this.options = _chunk2KZ4VTIAjs.getCompilerContext.call(void 0, options);
38
47
  this.appType = this.options.appType;
39
48
  }
40
49
  apply(compiler) {
50
+ compiler.options = compiler.options || {};
41
51
  const {
42
52
  mainCssChunkMatcher,
43
53
  disabled,
@@ -49,6 +59,7 @@ var UnifiedWebpackPluginV5 = class {
49
59
  templateHandler,
50
60
  jsHandler,
51
61
  runtimeLoaderPath,
62
+ runtimeCssImportRewriteLoaderPath,
52
63
  cache,
53
64
  twPatcher: initialTwPatcher,
54
65
  refreshTailwindcssPatcher
@@ -56,14 +67,18 @@ var UnifiedWebpackPluginV5 = class {
56
67
  if (disabled) {
57
68
  return;
58
69
  }
59
- const shouldRewriteCssImports = this.options.rewriteCssImports !== false && (this.userSpecifiedRewriteCssImports || (_nullishCoalesce(initialTwPatcher.majorVersion, () => ( 0))) >= 4);
70
+ const isTailwindcssV4 = (_nullishCoalesce(initialTwPatcher.majorVersion, () => ( 0))) >= 4;
71
+ const shouldRewriteCssImports = isTailwindcssV4 && this.options.rewriteCssImports !== false;
72
+ const isMpxApp = _chunkP3AQCOOMjs.isMpx.call(void 0, this.appType);
60
73
  if (shouldRewriteCssImports) {
61
- _chunkEK7ECLBWjs.applyTailwindcssCssImportRewrite.call(void 0, compiler, {
74
+ _chunk2E724WCEjs.applyTailwindcssCssImportRewrite.call(void 0, compiler, {
62
75
  pkgDir: weappTailwindcssPackageDir,
63
- enabled: true
76
+ enabled: true,
77
+ appType: this.appType
64
78
  });
79
+ _chunkP3AQCOOMjs.setupMpxTailwindcssRedirect.call(void 0, weappTailwindcssPackageDir, isMpxApp);
65
80
  }
66
- const patchRecorderState = _chunkM4KLNEHTjs.setupPatchRecorder.call(void 0, initialTwPatcher, this.options.tailwindcssBasedir, {
81
+ const patchRecorderState = _chunkL5ER4544js.setupPatchRecorder.call(void 0, initialTwPatcher, this.options.tailwindcssBasedir, {
67
82
  source: "runtime",
68
83
  cwd: _nullishCoalesce(this.options.tailwindcssBasedir, () => ( _process2.default.cwd()))
69
84
  });
@@ -74,46 +89,110 @@ var UnifiedWebpackPluginV5 = class {
74
89
  onPatchCompleted: patchRecorderState.onPatchCompleted
75
90
  };
76
91
  const refreshRuntimeState = async (force) => {
77
- await _chunkYUMLYTPNjs.refreshTailwindRuntimeState.call(void 0, runtimeState, force);
92
+ await _chunk2KZ4VTIAjs.refreshTailwindRuntimeState.call(void 0, runtimeState, force);
78
93
  };
79
94
  const { Compilation, sources, NormalModule } = compiler.webpack;
80
95
  const { ConcatSource } = sources;
81
96
  async function getClassSetInLoader() {
82
97
  await refreshRuntimeState(true);
83
98
  await runtimeState.patchPromise;
84
- await _chunkYUMLYTPNjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
99
+ await _chunk2KZ4VTIAjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
85
100
  }
86
- onLoad();
87
- const loader = _nullishCoalesce(runtimeLoaderPath, () => ( _path2.default.resolve(__dirname, "./weapp-tw-runtime-loader.js")));
88
- const isExisted = _fs2.default.existsSync(loader);
101
+ const runtimeClassSetLoader = _nullishCoalesce(runtimeLoaderPath, () => ( _path2.default.resolve(__dirname, "./weapp-tw-runtime-classset-loader.js")));
102
+ const runtimeCssImportRewriteLoader = shouldRewriteCssImports ? _nullishCoalesce(runtimeCssImportRewriteLoaderPath, () => ( _path2.default.resolve(__dirname, "./weapp-tw-css-import-rewrite-loader.js"))) : void 0;
103
+ const runtimeClassSetLoaderExists = _fs2.default.existsSync(runtimeClassSetLoader);
104
+ const runtimeCssImportRewriteLoaderExists = runtimeCssImportRewriteLoader ? _fs2.default.existsSync(runtimeCssImportRewriteLoader) : false;
89
105
  const runtimeLoaderRewriteOptions = shouldRewriteCssImports ? {
90
- pkgDir: weappTailwindcssPackageDir
106
+ pkgDir: weappTailwindcssPackageDir,
107
+ appType: this.appType
91
108
  } : void 0;
92
- const runtimeLoaderOptions = {
93
- getClassSet: getClassSetInLoader,
94
- rewriteCssImports: runtimeLoaderRewriteOptions
109
+ const classSetLoaderOptions = {
110
+ getClassSet: getClassSetInLoader
95
111
  };
96
- const createRuntimeLoaderEntry = () => ({
97
- loader,
98
- options: runtimeLoaderOptions,
112
+ const { findRewriteAnchor, findClassSetAnchor } = _chunk2E724WCEjs.createLoaderAnchorFinders.call(void 0, this.appType);
113
+ const cssImportRewriteLoaderOptions = runtimeLoaderRewriteOptions ? {
114
+ rewriteCssImports: runtimeLoaderRewriteOptions
115
+ } : void 0;
116
+ onLoad();
117
+ if (shouldRewriteCssImports && isMpxApp) {
118
+ _chunkP3AQCOOMjs.ensureMpxTailwindcssAliases.call(void 0, compiler, weappTailwindcssPackageDir);
119
+ }
120
+ if (runtimeCssImportRewriteLoader && shouldRewriteCssImports && cssImportRewriteLoaderOptions && isMpxApp) {
121
+ _chunkP3AQCOOMjs.injectMpxCssRewritePreRules.call(void 0, compiler, runtimeCssImportRewriteLoader, cssImportRewriteLoaderOptions);
122
+ }
123
+ const createRuntimeClassSetLoaderEntry = () => ({
124
+ loader: runtimeClassSetLoader,
125
+ options: classSetLoaderOptions,
99
126
  ident: null,
100
127
  type: null
101
128
  });
102
- compiler.hooks.compilation.tap(_chunkYUMLYTPNjs.pluginName, (compilation) => {
103
- NormalModule.getCompilationHooks(compilation).loader.tap(_chunkYUMLYTPNjs.pluginName, (_loaderContext, module) => {
104
- if (isExisted) {
105
- const idx = module.loaders.findIndex((x) => x.loader.includes("postcss-loader"));
106
- const runtimeLoaderEntry = createRuntimeLoaderEntry();
107
- if (idx > -1) {
108
- module.loaders.splice(idx + 1, 0, runtimeLoaderEntry);
129
+ const createCssImportRewriteLoaderEntry = () => {
130
+ if (!runtimeCssImportRewriteLoader) {
131
+ return null;
132
+ }
133
+ return {
134
+ loader: runtimeCssImportRewriteLoader,
135
+ options: cssImportRewriteLoaderOptions,
136
+ ident: null,
137
+ type: null
138
+ };
139
+ };
140
+ compiler.hooks.compilation.tap(_chunk2KZ4VTIAjs.pluginName, (compilation) => {
141
+ NormalModule.getCompilationHooks(compilation).loader.tap(_chunk2KZ4VTIAjs.pluginName, (_loaderContext, module) => {
142
+ const hasRuntimeLoader = runtimeClassSetLoaderExists || runtimeCssImportRewriteLoaderExists;
143
+ if (!hasRuntimeLoader) {
144
+ return;
145
+ }
146
+ _chunkP3AQCOOMjs.patchMpxLoaderResolve.call(void 0, _loaderContext, weappTailwindcssPackageDir, shouldRewriteCssImports && isMpxApp);
147
+ const loaderEntries = module.loaders || [];
148
+ let rewriteAnchorIdx = findRewriteAnchor(loaderEntries);
149
+ const classSetAnchorIdx = findClassSetAnchor(loaderEntries);
150
+ const isCssModule = _chunk2E724WCEjs.isCssLikeModuleResource.call(void 0, module.resource, this.options.cssMatcher, this.appType);
151
+ if (_process2.default.env.WEAPP_TW_LOADER_DEBUG && isCssModule) {
152
+ debug("loader hook css module: %s loaders=%o anchors=%o", module.resource, loaderEntries.map((x) => x.loader), { rewriteAnchorIdx, classSetAnchorIdx });
153
+ }
154
+ if (_process2.default.env.WEAPP_TW_LOADER_DEBUG && typeof module.resource === "string" && module.resource.includes("app.css")) {
155
+ debug("app.css module loaders=%o anchors=%o", loaderEntries.map((x) => x.loader), { rewriteAnchorIdx, classSetAnchorIdx });
156
+ } else if (_process2.default.env.WEAPP_TW_LOADER_DEBUG && typeof module.resource === "string" && module.resource.endsWith(".css")) {
157
+ debug("css module seen: %s loaders=%o anchors=%o", module.resource, loaderEntries.map((x) => x.loader), { rewriteAnchorIdx, classSetAnchorIdx });
158
+ }
159
+ if (rewriteAnchorIdx === -1 && classSetAnchorIdx === -1 && !isCssModule) {
160
+ return;
161
+ }
162
+ const anchorlessInsert = (entry, position) => {
163
+ if (position === "after") {
164
+ loaderEntries.push(entry);
165
+ } else {
166
+ loaderEntries.unshift(entry);
167
+ }
168
+ };
169
+ if (cssImportRewriteLoaderOptions && runtimeCssImportRewriteLoaderExists && runtimeCssImportRewriteLoader) {
170
+ const existingIndex = loaderEntries.findIndex((entry) => _optionalChain([entry, 'access', _ => _.loader, 'optionalAccess', _2 => _2.includes, 'optionalCall', _3 => _3(runtimeCssImportRewriteLoader)]));
171
+ const rewriteLoaderEntry = existingIndex !== -1 ? loaderEntries.splice(existingIndex, 1)[0] : createCssImportRewriteLoaderEntry();
172
+ if (rewriteLoaderEntry) {
173
+ const anchorIndex = findRewriteAnchor(loaderEntries);
174
+ if (anchorIndex === -1) {
175
+ anchorlessInsert(rewriteLoaderEntry, "after");
176
+ } else {
177
+ loaderEntries.splice(anchorIndex + 1, 0, rewriteLoaderEntry);
178
+ }
179
+ rewriteAnchorIdx = findRewriteAnchor(loaderEntries);
180
+ }
181
+ }
182
+ if (runtimeClassSetLoaderExists && !_chunk2E724WCEjs.hasLoaderEntry.call(void 0, loaderEntries, runtimeClassSetLoader)) {
183
+ const classSetLoaderEntry = createRuntimeClassSetLoaderEntry();
184
+ const anchorIndex = findClassSetAnchor(loaderEntries);
185
+ if (anchorIndex === -1) {
186
+ anchorlessInsert(classSetLoaderEntry, "before");
109
187
  } else {
110
- module.loaders.push(runtimeLoaderEntry);
188
+ const insertIndex = anchorIndex === -1 ? rewriteAnchorIdx : anchorIndex;
189
+ loaderEntries.splice(insertIndex, 0, classSetLoaderEntry);
111
190
  }
112
191
  }
113
192
  });
114
193
  compilation.hooks.processAssets.tapPromise(
115
194
  {
116
- name: _chunkYUMLYTPNjs.pluginName,
195
+ name: _chunk2KZ4VTIAjs.pluginName,
117
196
  stage: Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE
118
197
  },
119
198
  async (assets) => {
@@ -126,18 +205,18 @@ var UnifiedWebpackPluginV5 = class {
126
205
  }
127
206
  }
128
207
  const entries = Object.entries(assets);
129
- const compilerOutputPath = _nullishCoalesce(_optionalChain([compilation, 'access', _ => _.compiler, 'optionalAccess', _2 => _2.outputPath]), () => ( compiler.outputPath));
130
- const outputDir = compilerOutputPath ? _path2.default.resolve(compilerOutputPath) : _nullishCoalesce(_optionalChain([compilation, 'access', _3 => _3.outputOptions, 'optionalAccess', _4 => _4.path]), () => ( _process2.default.cwd()));
208
+ const compilerOutputPath = _nullishCoalesce(_optionalChain([compilation, 'access', _4 => _4.compiler, 'optionalAccess', _5 => _5.outputPath]), () => ( compiler.outputPath));
209
+ const outputDir = compilerOutputPath ? _path2.default.resolve(compilerOutputPath) : _nullishCoalesce(_optionalChain([compilation, 'access', _6 => _6.outputOptions, 'optionalAccess', _7 => _7.path]), () => ( _process2.default.cwd()));
131
210
  const jsAssets = /* @__PURE__ */ new Map();
132
211
  for (const [file] of entries) {
133
212
  if (this.options.jsMatcher(file) || this.options.wxsMatcher(file)) {
134
- const absolute = _chunkAB45L5FPjs.toAbsoluteOutputPath.call(void 0, file, outputDir);
213
+ const absolute = _chunkXHR5K5ZTjs.toAbsoluteOutputPath.call(void 0, file, outputDir);
135
214
  jsAssets.set(absolute, file);
136
215
  }
137
216
  }
138
217
  const moduleGraphOptions = {
139
218
  resolve(specifier, importer) {
140
- return _chunkAB45L5FPjs.resolveOutputSpecifier.call(void 0, specifier, importer, outputDir, (candidate) => jsAssets.has(candidate));
219
+ return _chunkXHR5K5ZTjs.resolveOutputSpecifier.call(void 0, specifier, importer, outputDir, (candidate) => jsAssets.has(candidate));
141
220
  },
142
221
  load: (id) => {
143
222
  const assetName = jsAssets.get(id);
@@ -182,7 +261,7 @@ var UnifiedWebpackPluginV5 = class {
182
261
  const groupedEntries = _chunkUW3WHSZ5js.getGroupedEntries.call(void 0, entries, this.options);
183
262
  await refreshRuntimeState(true);
184
263
  await runtimeState.patchPromise;
185
- const runtimeSet = await _chunkYUMLYTPNjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
264
+ const runtimeSet = await _chunk2KZ4VTIAjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
186
265
  debug("get runtimeSet, class count: %d", runtimeSet.size);
187
266
  const tasks = [];
188
267
  if (Array.isArray(groupedEntries.html)) {
@@ -219,12 +298,12 @@ var UnifiedWebpackPluginV5 = class {
219
298
  const jsTaskFactories = [];
220
299
  if (Array.isArray(groupedEntries.js)) {
221
300
  for (const [file] of groupedEntries.js) {
222
- const cacheKey = _chunkEK7ECLBWjs.getCacheKey.call(void 0, file);
301
+ const cacheKey = _chunk2E724WCEjs.getCacheKey.call(void 0, file);
223
302
  const asset = compilation.getAsset(file);
224
303
  if (!asset) {
225
304
  continue;
226
305
  }
227
- const absoluteFile = _chunkAB45L5FPjs.toAbsoluteOutputPath.call(void 0, file, outputDir);
306
+ const absoluteFile = _chunkXHR5K5ZTjs.toAbsoluteOutputPath.call(void 0, file, outputDir);
228
307
  const initialSource = asset.source.source();
229
308
  const initialRawSource = typeof initialSource === "string" ? initialSource : initialSource.toString();
230
309
  jsTaskFactories.push(async () => {
@@ -240,8 +319,8 @@ var UnifiedWebpackPluginV5 = class {
240
319
  },
241
320
  transform: async () => {
242
321
  const currentAsset = compilation.getAsset(file);
243
- const currentSourceValue = _optionalChain([currentAsset, 'optionalAccess', _5 => _5.source, 'access', _6 => _6.source, 'call', _7 => _7()]);
244
- const currentSource = typeof currentSourceValue === "string" ? currentSourceValue : _nullishCoalesce(_optionalChain([currentSourceValue, 'optionalAccess', _8 => _8.toString, 'call', _9 => _9()]), () => ( ""));
322
+ const currentSourceValue = _optionalChain([currentAsset, 'optionalAccess', _8 => _8.source, 'access', _9 => _9.source, 'call', _10 => _10()]);
323
+ const currentSource = typeof currentSourceValue === "string" ? currentSourceValue : _nullishCoalesce(_optionalChain([currentSourceValue, 'optionalAccess', _11 => _11.toString, 'call', _12 => _12()]), () => ( ""));
245
324
  const { code, linked } = await jsHandler(currentSource, runtimeSet, {
246
325
  filename: absoluteFile,
247
326
  moduleGraph: moduleGraphOptions,
@@ -299,7 +378,7 @@ var UnifiedWebpackPluginV5 = class {
299
378
  );
300
379
  }
301
380
  }
302
- _chunkAB45L5FPjs.pushConcurrentTaskFactories.call(void 0, tasks, jsTaskFactories);
381
+ _chunkXHR5K5ZTjs.pushConcurrentTaskFactories.call(void 0, tasks, jsTaskFactories);
303
382
  await Promise.all(tasks);
304
383
  debug("end");
305
384
  onEnd();
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-RRHPTTCP.mjs";
4
4
  import {
5
5
  setupPatchRecorder
6
- } from "./chunk-SR4OOLTF.mjs";
6
+ } from "./chunk-M5UEOYBI.mjs";
7
7
  import {
8
8
  collectRuntimeClassSet,
9
9
  createDebug,
10
10
  getCompilerContext,
11
11
  refreshTailwindRuntimeState
12
- } from "./chunk-B2IA5GC7.mjs";
12
+ } from "./chunk-RUXC4E2M.mjs";
13
13
 
14
14
  // src/bundlers/gulp/index.ts
15
15
  import { Buffer } from "buffer";