diff --git a/.changeset/eleven-spiders-yell.md b/.changeset/eleven-spiders-yell.md new file mode 100644 index 0000000000..ba7264facf --- /dev/null +++ b/.changeset/eleven-spiders-yell.md @@ -0,0 +1,5 @@ +--- +'@ice/plugin-pha': patch +--- + +fix: support plugin-pha interface optional diff --git a/packages/plugin-pha/src/index.ts b/packages/plugin-pha/src/index.ts index 6ed5da8ede..99e47b6048 100644 --- a/packages/plugin-pha/src/index.ts +++ b/packages/plugin-pha/src/index.ts @@ -17,8 +17,8 @@ export type Compiler = (options: { }, buildOptions: Parameters[1]) => Promise; interface PluginOptions { - template: boolean; - preload: boolean; + template?: boolean; + preload?: boolean; } function getDevPath(url: string): string {