mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
skip source map generation for external globals
This commit is contained in:
parent
667b9b6fbe
commit
e6fdccdad3
@ -91,10 +91,7 @@ export async function externalGlobalsPlugin(externals: Record<string, string>) {
|
||||
|
||||
return {
|
||||
code: src.toString(),
|
||||
map: src.generateMap({
|
||||
source: id,
|
||||
hires: true,
|
||||
}),
|
||||
map: null,
|
||||
};
|
||||
},
|
||||
} satisfies Plugin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user