mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 10:11:47 +08:00
Update externalGlobalsPlugin function signature to return a Promise<Plugin>
This commit is contained in:
parent
9c64c48c41
commit
9d71abdae9
@ -38,7 +38,7 @@ const replacementMap = new Map([
|
||||
* https://github.com/eight04/rollup-plugin-external-globals, but simplified to meet our simple
|
||||
* needs.
|
||||
*/
|
||||
export async function externalGlobalsPlugin(externals: Record<string, string>) {
|
||||
export async function externalGlobalsPlugin(externals: Record<string, string>): Promise<Plugin> {
|
||||
await init;
|
||||
const { mergeAlias } = await import('vite');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user