weapp-tailwindcss 4.7.9 → 4.7.10-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/webpack4.js CHANGED
@@ -16,7 +16,7 @@ var _chunkLTJQUORKjs = require('./chunk-LTJQUORK.js');
16
16
 
17
17
 
18
18
 
19
- var _chunkHPVYHFXXjs = require('./chunk-HPVYHFXX.js');
19
+ var _chunkAEIEPXO3js = require('./chunk-AEIEPXO3.js');
20
20
  require('./chunk-KMCQEHJM.js');
21
21
  require('./chunk-SMYOFNHJ.js');
22
22
 
@@ -29,10 +29,10 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
29
29
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
30
30
  var _process = require('process'); var _process2 = _interopRequireDefault(_process);
31
31
  var _webpacksources = require('webpack-sources');
32
- var debug = _chunkHPVYHFXXjs.createDebug.call(void 0, );
32
+ var debug = _chunkAEIEPXO3js.createDebug.call(void 0, );
33
33
  var UnifiedWebpackPluginV4 = class {
34
34
  constructor(options = {}) {
35
- this.options = _chunkHPVYHFXXjs.getCompilerContext.call(void 0, options);
35
+ this.options = _chunkAEIEPXO3js.getCompilerContext.call(void 0, options);
36
36
  this.appType = this.options.appType;
37
37
  }
38
38
  apply(compiler) {
@@ -56,16 +56,16 @@ var UnifiedWebpackPluginV4 = class {
56
56
  }
57
57
  const runtimeState = {
58
58
  twPatcher: initialTwPatcher,
59
- patchPromise: _chunkHPVYHFXXjs.createTailwindPatchPromise.call(void 0, initialTwPatcher),
59
+ patchPromise: _chunkAEIEPXO3js.createTailwindPatchPromise.call(void 0, initialTwPatcher),
60
60
  refreshTailwindcssPatcher
61
61
  };
62
62
  const refreshRuntimeState = async (force) => {
63
- await _chunkHPVYHFXXjs.refreshTailwindRuntimeState.call(void 0, runtimeState, force);
63
+ await _chunkAEIEPXO3js.refreshTailwindRuntimeState.call(void 0, runtimeState, force);
64
64
  };
65
65
  async function getClassSetInLoader() {
66
66
  await refreshRuntimeState(true);
67
67
  await runtimeState.patchPromise;
68
- await _chunkHPVYHFXXjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
68
+ await _chunkAEIEPXO3js.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
69
69
  }
70
70
  onLoad();
71
71
  const loader = _nullishCoalesce(runtimeLoaderPath, () => ( _path2.default.resolve(__dirname, "./weapp-tw-runtime-loader.js")));
@@ -78,8 +78,8 @@ var UnifiedWebpackPluginV4 = class {
78
78
  ident: null,
79
79
  type: null
80
80
  };
81
- compiler.hooks.compilation.tap(_chunkHPVYHFXXjs.pluginName, (compilation) => {
82
- compilation.hooks.normalModuleLoader.tap(_chunkHPVYHFXXjs.pluginName, (_loaderContext, module) => {
81
+ compiler.hooks.compilation.tap(_chunkAEIEPXO3js.pluginName, (compilation) => {
82
+ compilation.hooks.normalModuleLoader.tap(_chunkAEIEPXO3js.pluginName, (_loaderContext, module) => {
83
83
  if (isExisted) {
84
84
  const idx = module.loaders.findIndex((x) => x.loader.includes("postcss-loader"));
85
85
  if (idx > -1) {
@@ -88,7 +88,7 @@ var UnifiedWebpackPluginV4 = class {
88
88
  }
89
89
  });
90
90
  });
91
- compiler.hooks.emit.tapPromise(_chunkHPVYHFXXjs.pluginName, async (compilation) => {
91
+ compiler.hooks.emit.tapPromise(_chunkAEIEPXO3js.pluginName, async (compilation) => {
92
92
  await runtimeState.patchPromise;
93
93
  onStart();
94
94
  debug("start");
@@ -154,7 +154,7 @@ var UnifiedWebpackPluginV4 = class {
154
154
  const groupedEntries = _chunkUW3WHSZ5js.getGroupedEntries.call(void 0, entries, this.options);
155
155
  await refreshRuntimeState(true);
156
156
  await runtimeState.patchPromise;
157
- const runtimeSet = await _chunkHPVYHFXXjs.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
157
+ const runtimeSet = await _chunkAEIEPXO3js.collectRuntimeClassSet.call(void 0, runtimeState.twPatcher, { force: true, skipRefresh: true });
158
158
  debug("get runtimeSet, class count: %d", runtimeSet.size);
159
159
  const tasks = [];
160
160
  if (Array.isArray(groupedEntries.html)) {
package/dist/webpack4.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  getCompilerContext,
17
17
  pluginName,
18
18
  refreshTailwindRuntimeState
19
- } from "./chunk-TPBIR7NL.mjs";
19
+ } from "./chunk-J7OY4W53.mjs";
20
20
  import "./chunk-YW5YW5D4.mjs";
21
21
  import "./chunk-PYXTMD6B.mjs";
22
22
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weapp-tailwindcss",
3
- "version": "4.7.9",
3
+ "version": "4.7.10-alpha.0",
4
4
  "description": "把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!",
5
5
  "author": "ice breaker <1324318532@qq.com>",
6
6
  "license": "MIT",
@@ -177,8 +177,8 @@
177
177
  "semver": "~7.7.3",
178
178
  "tailwindcss-patch": "^8.2.4",
179
179
  "webpack-sources": "3.3.3",
180
- "@weapp-tailwindcss/postcss": "2.0.3",
181
180
  "@weapp-tailwindcss/shared": "1.1.0",
181
+ "@weapp-tailwindcss/postcss": "2.0.3",
182
182
  "@weapp-tailwindcss/logger": "1.1.0"
183
183
  },
184
184
  "scripts": {