mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
FIX values, should not be stringified before parsed into template
This commit is contained in:
parent
dcc169f8e6
commit
5b14df83cd
@ -64,8 +64,8 @@ export default ({
|
||||
version,
|
||||
dlls: dll ? ['./sb_dll/storybook_ui_dll.js'] : [],
|
||||
globals: {
|
||||
DOCS_MODE: JSON.stringify(docsMode), // global docs mode
|
||||
PREVIEW_URL: JSON.stringify(previewUrl), // global preview URL
|
||||
DOCS_MODE: docsMode, // global docs mode
|
||||
PREVIEW_URL: previewUrl, // global preview URL
|
||||
},
|
||||
headHtmlSnippet: getManagerHeadHtml(configDir, process.env),
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user