FIX values, should not be stringified before parsed into template

This commit is contained in:
Norbert de Langen 2019-07-31 00:33:29 +02:00
parent dcc169f8e6
commit 5b14df83cd

View File

@ -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),
}),