@basmilius/vite-preset 2.3.0 → 2.4.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/composeLibrary.d.ts +4 -4
- package/dist/preset.d.ts +5 -5
- package/package.json +5 -5
package/dist/composeLibrary.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import type { Plugin } from "vite";
|
|
|
2
2
|
type ComposePlugin = () => Plugin;
|
|
3
3
|
type PathGenerator = (name: string) => string;
|
|
4
4
|
type Options = {
|
|
5
|
-
readonly name: string
|
|
6
|
-
readonly alias: string
|
|
7
|
-
readonly sourcesPathGenerator?: PathGenerator
|
|
8
|
-
readonly tsAliasPathGenerator?: PathGenerator
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly alias: string;
|
|
7
|
+
readonly sourcesPathGenerator?: PathGenerator;
|
|
8
|
+
readonly tsAliasPathGenerator?: PathGenerator;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: (options: Options) => ComposePlugin;
|
|
11
11
|
export default _default;
|
package/dist/preset.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Plugin } from "vite";
|
|
2
2
|
type Options = {
|
|
3
3
|
readonly cssModules?: {
|
|
4
|
-
readonly classNames?: "mangled" | "camel" | "kebab"
|
|
5
|
-
readonly generateScopedName?: (name: string, filename: string, css: string) => string
|
|
6
|
-
}
|
|
7
|
-
readonly fileNames?: "hashes" | "actual"
|
|
8
|
-
readonly isLibrary?: boolean
|
|
4
|
+
readonly classNames?: "mangled" | "camel" | "kebab";
|
|
5
|
+
readonly generateScopedName?: (name: string, filename: string, css: string) => string;
|
|
6
|
+
};
|
|
7
|
+
readonly fileNames?: "hashes" | "actual";
|
|
8
|
+
readonly isLibrary?: boolean;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: (options?: Options) => Plugin[];
|
|
11
11
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basmilius/vite-preset",
|
|
3
3
|
"description": "Commonly used presets used in Vite + Vue setups.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/basmilius",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"change-case": "^5.4.4",
|
|
50
50
|
"css-class-generator": "^2.0.0",
|
|
51
51
|
"lightningcss": "^1.30.1",
|
|
52
|
-
"vite-css-modules": "^1.
|
|
53
|
-
"vite-plugin-dts": "^4.5.
|
|
52
|
+
"vite-css-modules": "^1.9.0",
|
|
53
|
+
"vite-plugin-dts": "^4.5.4"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@basmilius/tools": "2.
|
|
57
|
-
"vite": "^
|
|
56
|
+
"@basmilius/tools": "2.4.0",
|
|
57
|
+
"vite": "^7.0.0"
|
|
58
58
|
}
|
|
59
59
|
}
|