@unocss/webpack 0.41.1 → 0.41.2

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/index.cjs CHANGED
@@ -57,6 +57,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
57
57
  const reloadListeners = [];
58
58
  const modules = new core.BetterMap();
59
59
  const tokens = /* @__PURE__ */ new Set();
60
+ const affectedModules = /* @__PURE__ */ new Set();
60
61
  let ready = reloadConfig();
61
62
  async function reloadConfig() {
62
63
  const result = await config.loadConfig(root, configOrPath, extraConfigSources);
@@ -116,6 +117,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
116
117
  },
117
118
  tokens,
118
119
  modules,
120
+ affectedModules,
119
121
  invalidate,
120
122
  onInvalidate(fn) {
121
123
  invalidations.push(fn);
package/dist/index.mjs CHANGED
@@ -49,6 +49,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
49
49
  const reloadListeners = [];
50
50
  const modules = new BetterMap();
51
51
  const tokens = /* @__PURE__ */ new Set();
52
+ const affectedModules = /* @__PURE__ */ new Set();
52
53
  let ready = reloadConfig();
53
54
  async function reloadConfig() {
54
55
  const result = await loadConfig(root, configOrPath, extraConfigSources);
@@ -108,6 +109,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
108
109
  },
109
110
  tokens,
110
111
  modules,
112
+ affectedModules,
111
113
  invalidate,
112
114
  onInvalidate(fn) {
113
115
  invalidations.push(fn);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/webpack",
3
- "version": "0.41.1",
3
+ "version": "0.41.2",
4
4
  "description": "The Webpack plugin for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@rollup/pluginutils": "^4.2.1",
40
- "@unocss/config": "0.41.1",
41
- "@unocss/core": "0.41.1",
40
+ "@unocss/config": "0.41.2",
41
+ "@unocss/core": "0.41.2",
42
42
  "unplugin": "^0.7.0",
43
43
  "webpack-sources": "^3.2.3"
44
44
  },