@unocss/webpack 0.53.3 → 0.53.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.d.ts +3 -3
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as webpack from 'webpack';
|
|
2
2
|
import { UserConfig, UserConfigDefaults } from '@unocss/core';
|
|
3
3
|
|
|
4
|
-
interface WebpackPluginOptions<Theme extends
|
|
4
|
+
interface WebpackPluginOptions<Theme extends object = object> extends UserConfig<Theme> {
|
|
5
5
|
}
|
|
6
|
-
declare function defineConfig<Theme extends
|
|
7
|
-
declare function WebpackPlugin<Theme extends
|
|
6
|
+
declare function defineConfig<Theme extends object>(config: WebpackPluginOptions<Theme>): WebpackPluginOptions<Theme>;
|
|
7
|
+
declare function WebpackPlugin<Theme extends object>(configOrPath?: WebpackPluginOptions<Theme> | string, defaults?: UserConfigDefaults): webpack.WebpackPluginInstance;
|
|
8
8
|
|
|
9
9
|
export { WebpackPluginOptions, WebpackPlugin as default, defineConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.5",
|
|
4
4
|
"description": "The Webpack plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"@ampproject/remapping": "^2.2.1",
|
|
40
40
|
"@rollup/pluginutils": "^5.0.2",
|
|
41
41
|
"chokidar": "^3.5.3",
|
|
42
|
-
"fast-glob": "^3.
|
|
43
|
-
"magic-string": "^0.30.
|
|
44
|
-
"unplugin": "^1.3.
|
|
42
|
+
"fast-glob": "^3.3.0",
|
|
43
|
+
"magic-string": "^0.30.1",
|
|
44
|
+
"unplugin": "^1.3.2",
|
|
45
45
|
"webpack-sources": "^3.2.3",
|
|
46
|
-
"@unocss/config": "0.53.
|
|
47
|
-
"@unocss/core": "0.53.
|
|
46
|
+
"@unocss/config": "0.53.5",
|
|
47
|
+
"@unocss/core": "0.53.5"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/webpack": "^5.28.1",
|
|
51
51
|
"@types/webpack-sources": "^3.2.0",
|
|
52
|
-
"webpack": "^5.88.
|
|
52
|
+
"webpack": "^5.88.1"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "unbuild",
|