@unocss/webpack 66.1.3 → 66.2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const unplugin = require('./shared/webpack.DcWpBO5z.cjs');
3
+ const unplugin = require('./shared/webpack.Ba9iFtiV.cjs');
4
4
  require('node:path');
5
5
  require('node:process');
6
6
  require('node:fs/promises');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { u as unplugin } from './shared/webpack.B2MGSQtu.mjs';
1
+ import { u as unplugin } from './shared/webpack.D8KO24In.mjs';
2
2
  import 'node:path';
3
3
  import 'node:process';
4
4
  import 'node:fs/promises';
package/dist/rspack.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const unplugin = require('./shared/webpack.DcWpBO5z.cjs');
3
+ const unplugin = require('./shared/webpack.Ba9iFtiV.cjs');
4
4
  require('node:path');
5
5
  require('node:process');
6
6
  require('node:fs/promises');
package/dist/rspack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { u as unplugin } from './shared/webpack.B2MGSQtu.mjs';
1
+ import { u as unplugin } from './shared/webpack.D8KO24In.mjs';
2
2
  import 'node:path';
3
3
  import 'node:process';
4
4
  import 'node:fs/promises';
@@ -294,6 +294,7 @@ function resolveId(id, importer) {
294
294
  const match = id.match(alias);
295
295
  if (match) {
296
296
  let virtual = match[1] ? `__uno_${match[1]}.css` : "__uno.css";
297
+ virtual += match[2] || "";
297
298
  virtual = `/${virtual}`;
298
299
  return virtual;
299
300
  }
@@ -284,6 +284,7 @@ function resolveId(id, importer) {
284
284
  const match = id.match(alias);
285
285
  if (match) {
286
286
  let virtual = match[1] ? `__uno_${match[1]}.css` : "__uno.css";
287
+ virtual += match[2] || "";
287
288
  virtual = `/${virtual}`;
288
289
  return virtual;
289
290
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/webpack",
3
3
  "type": "module",
4
- "version": "66.1.3",
4
+ "version": "66.2.0",
5
5
  "description": "The Webpack plugin for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -68,8 +68,8 @@
68
68
  "unplugin": "^2.3.4",
69
69
  "unplugin-utils": "^0.2.4",
70
70
  "webpack-sources": "^3.2.3",
71
- "@unocss/config": "66.1.3",
72
- "@unocss/core": "66.1.3"
71
+ "@unocss/config": "66.2.0",
72
+ "@unocss/core": "66.2.0"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/webpack": "^5.28.5",