-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jianbing.chen
committed
Aug 3, 2024
1 parent
7762233
commit 323410c
Showing
9 changed files
with
28 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
/** | ||
* vite-plugin-external | ||
* 1. 处理JS模块中导入方式,修改为 window['vue']方式 | ||
* 2. 自动把外部链接插入到HTML中 | ||
*/ | ||
import { PluginOption } from 'vite'; | ||
import { Options } from './types'; | ||
import { UserOptions } from 'vite-plugin-externals/dist/src/types'; | ||
export declare function VitePluginExternals(options: Options, userOptions?: UserOptions): {}; | ||
export declare function VitePluginExternals(options: Options, userOptions?: UserOptions): PluginOption; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
/** | ||
* vite-plugin-external | ||
* 1. 处理JS模块中导入方式,修改为 window['vue']方式 | ||
* 2. 自动把外部链接插入到HTML中 | ||
*/ | ||
import { PluginOption } from 'vite'; | ||
import { Options } from './types'; | ||
import { UserOptions } from 'vite-plugin-externals/dist/src/types'; | ||
export declare function VitePluginExternals(options: Options, userOptions?: UserOptions): {}; | ||
export declare function VitePluginExternals(options: Options, userOptions?: UserOptions): PluginOption; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.