@unocss/webpack 0.63.4 → 0.63.5
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
package/dist/index.mjs
CHANGED
package/dist/rspack.cjs
CHANGED
package/dist/rspack.mjs
CHANGED
|
@@ -189,15 +189,6 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
|
|
|
189
189
|
await Promise.all(modules.map((code, id) => uno.applyExtractors(code.replace(SKIP_COMMENT_RE, ""), id, tokens)));
|
|
190
190
|
invalidate();
|
|
191
191
|
dispatchReload();
|
|
192
|
-
const presets = /* @__PURE__ */ new Set();
|
|
193
|
-
uno.config.presets.forEach((i) => {
|
|
194
|
-
if (!i.name)
|
|
195
|
-
return;
|
|
196
|
-
if (presets.has(i.name))
|
|
197
|
-
console.warn(`[unocss] duplication of preset ${i.name} found, there might be something wrong with your config.`);
|
|
198
|
-
else
|
|
199
|
-
presets.add(i.name);
|
|
200
|
-
});
|
|
201
192
|
return result;
|
|
202
193
|
}
|
|
203
194
|
async function updateRoot(newRoot) {
|
|
@@ -199,15 +199,6 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
|
|
|
199
199
|
await Promise.all(modules.map((code, id) => uno.applyExtractors(code.replace(SKIP_COMMENT_RE, ""), id, tokens)));
|
|
200
200
|
invalidate();
|
|
201
201
|
dispatchReload();
|
|
202
|
-
const presets = /* @__PURE__ */ new Set();
|
|
203
|
-
uno.config.presets.forEach((i) => {
|
|
204
|
-
if (!i.name)
|
|
205
|
-
return;
|
|
206
|
-
if (presets.has(i.name))
|
|
207
|
-
console.warn(`[unocss] duplication of preset ${i.name} found, there might be something wrong with your config.`);
|
|
208
|
-
else
|
|
209
|
-
presets.add(i.name);
|
|
210
|
-
});
|
|
211
202
|
return result;
|
|
212
203
|
}
|
|
213
204
|
async function updateRoot(newRoot) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.63.
|
|
4
|
+
"version": "0.63.5",
|
|
5
5
|
"description": "The Webpack plugin for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"tinyglobby": "^0.2.9",
|
|
60
60
|
"unplugin": "^1.14.1",
|
|
61
61
|
"webpack-sources": "^3.2.3",
|
|
62
|
-
"@unocss/
|
|
63
|
-
"@unocss/
|
|
62
|
+
"@unocss/core": "0.63.5",
|
|
63
|
+
"@unocss/config": "0.63.5"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/webpack": "^5.28.5",
|