vite-plugin-banner
Advanced tools
Comparing version 0.4.0 to 0.5.0
/** | ||
* Some options from `vite.config.[ts|js]` | ||
* @tips This options type is supported since `0.2.0` | ||
* @since 0.2.0 | ||
*/ | ||
@@ -17,6 +17,14 @@ export interface BannerPluginOptions { | ||
* Whether to print error messages to the console | ||
* @tips This option is supported since `0.4.0` | ||
* @since 0.4.0 | ||
* @default `false` | ||
*/ | ||
debug?: boolean; | ||
/** | ||
* By default, the validity of the content will be verified. | ||
* If set to `false`, no verification will be performed. | ||
* @see https://github.com/chengpeiquan/vite-plugin-banner/issues/13 | ||
* @since 0.5.0 | ||
* @default `true` | ||
*/ | ||
verify?: boolean; | ||
} | ||
@@ -30,2 +38,3 @@ /** | ||
debug: boolean; | ||
verify: boolean; | ||
} | ||
@@ -32,0 +41,0 @@ /** |
{ | ||
"name": "vite-plugin-banner", | ||
"description": "A banner plugin for Vite. Adds a banner to the top of each generated chunk.", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"author": "chengpeiquan <chengpeiquan@chengpeiquan.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -39,3 +39,3 @@ <p align='center'> | ||
* Some options from `vite.config.[ts|js]` | ||
* @tips This options type is supported since `0.2.0` | ||
* @since 0.2.0 | ||
*/ | ||
@@ -56,6 +56,15 @@ export interface BannerPluginOptions { | ||
* Whether to print error messages to the console | ||
* @tips This option is supported since `0.4.0` | ||
* @since 0.4.0 | ||
* @default `false` | ||
*/ | ||
debug?: boolean | ||
/** | ||
* By default, the validity of the content will be verified. | ||
* If set to `false`, no verification will be performed. | ||
* @see https://github.com/chengpeiquan/vite-plugin-banner/issues/13 | ||
* @since 0.5.0 | ||
* @default `true` | ||
*/ | ||
verify?: boolean | ||
} | ||
@@ -62,0 +71,0 @@ ``` |
@@ -39,3 +39,3 @@ <p align='center'> | ||
* ๆฅ่ช `vite.config.[ts|js]` ็ไธไบ้้กน | ||
* @tips ไป `0.2.0` ๅผๅงๆฏๆๆญค้้กน็ฑปๅ | ||
* @since 0.2.0 | ||
*/ | ||
@@ -56,6 +56,14 @@ export interface BannerPluginOptions { | ||
* ๆฏๅฆๅฐ้่ฏฏไฟกๆฏๆๅฐๅฐๆงๅถๅฐ | ||
* @tips ไป `0.4.0` ๅผๅงๆฏๆๆญค้้กน | ||
* @since 0.4.0 | ||
* @default `false` | ||
*/ | ||
debug?: boolean | ||
/** | ||
* ้ป่ฎคไผ้ช่ฏๅ ๅฎน็ๅๆณๆง๏ผ่ฎพ็ฝฎไธบ `false` ๅไธ้ช่ฏ | ||
* @see https://github.com/chengpeiquan/vite-plugin-banner/issues/13 | ||
* @since 0.5.0 | ||
* @default `true` | ||
*/ | ||
verify?: boolean | ||
} | ||
@@ -62,0 +70,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24622
69
230