mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
improve manager-entries failure message
This commit is contained in:
parent
1bac7bbfc3
commit
108bad5d74
@ -82,7 +82,7 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
|
||||
js: 'try{',
|
||||
},
|
||||
footer: {
|
||||
js: '}catch(e){ console.log("ONE OF YOUR MANAGER-ENTRIES FAILED: " + import.meta.url) }',
|
||||
js: '}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url); throw e; }',
|
||||
},
|
||||
|
||||
define: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user