mirror of
https://github.com/quartz-community/explorer.git
synced 2026-07-22 02:50:24 +00:00
fix: enable TypeScript declaration generation
This commit is contained in:
parent
0760f41d0f
commit
08588261c9
2 changed files with 18 additions and 2 deletions
|
|
@ -1,4 +1,20 @@
|
|||
import type { PluginManifest } from "@jackyzha0/quartz/plugins/loader/types";
|
||||
type PluginManifest = {
|
||||
name: string;
|
||||
displayName: string;
|
||||
description: string;
|
||||
version: string;
|
||||
category: string;
|
||||
quartzVersion: string;
|
||||
components: Record<
|
||||
string,
|
||||
{
|
||||
name: string;
|
||||
displayName: string;
|
||||
description: string;
|
||||
version: string;
|
||||
}
|
||||
>;
|
||||
};
|
||||
|
||||
export const manifest: PluginManifest = {
|
||||
name: "@quartz-community/explorer",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export default defineConfig({
|
|||
"components/index": "src/components/index.ts",
|
||||
},
|
||||
format: ["esm"],
|
||||
dts: false,
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
treeshake: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue