@unocss/webpack 0.32.13 → 0.33.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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -186,7 +186,7 @@ function WebpackPlugin(configOrPath, defaults) {
|
|
|
186
186
|
return;
|
|
187
187
|
const result = await uno.generate(tokens);
|
|
188
188
|
Array.from(plugin.__vfsModules).forEach((id) => {
|
|
189
|
-
const path = id.slice(plugin.__virtualModulePrefix.length);
|
|
189
|
+
const path = id.slice(plugin.__virtualModulePrefix.length).replace(/\\/g, "/");
|
|
190
190
|
const layer = entries.get(path);
|
|
191
191
|
if (!layer)
|
|
192
192
|
return;
|
package/dist/index.mjs
CHANGED
|
@@ -178,7 +178,7 @@ function WebpackPlugin(configOrPath, defaults) {
|
|
|
178
178
|
return;
|
|
179
179
|
const result = await uno.generate(tokens);
|
|
180
180
|
Array.from(plugin.__vfsModules).forEach((id) => {
|
|
181
|
-
const path = id.slice(plugin.__virtualModulePrefix.length);
|
|
181
|
+
const path = id.slice(plugin.__virtualModulePrefix.length).replace(/\\/g, "/");
|
|
182
182
|
const layer = entries.get(path);
|
|
183
183
|
if (!layer)
|
|
184
184
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "The Webpack plugin for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@rollup/pluginutils": "^4.2.1",
|
|
40
|
-
"@unocss/config": "0.
|
|
41
|
-
"@unocss/core": "0.
|
|
40
|
+
"@unocss/config": "0.33.0",
|
|
41
|
+
"@unocss/core": "0.33.0",
|
|
42
42
|
"unplugin": "^0.6.2",
|
|
43
43
|
"webpack-sources": "^3.2.3"
|
|
44
44
|
},
|