chore: update plugin option type of plugin-icestark (#7079)
CI / build (16.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (16.x, windows-latest) (push) Has been cancelled Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (18.x, windows-latest) (push) Has been cancelled Details
Coverage / coverage (16.x) (push) Has been cancelled Details
Release / Release (16) (push) Has been cancelled Details

This commit is contained in:
ClarkXia 2025-04-14 20:07:42 +08:00 committed by GitHub
parent c943626719
commit 3a99b620cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## 1.2.1
- fix: plugin type definition of `library`
## 1.2.0
### Minor Changes

View File

@ -1,6 +1,6 @@
{
"name": "@ice/plugin-icestark",
"version": "1.2.0",
"version": "1.2.1",
"description": "Easy use `icestark` in icejs.",
"author": "ice-admin@alibaba-inc.com",
"homepage": "",

View File

@ -2,7 +2,7 @@ import type { Plugin } from '@ice/app/types';
interface PluginOptions {
type: 'child' | 'framework';
library?: string;
library?: string | string[];
}
const PLUGIN_NAME = '@ice/plugin-icestark';