Skip to content

Commit

Permalink
fix(docz-core): turn off htmlMinifier when loading from templates (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtks authored and pedronauck committed Dec 17, 2018
1 parent 4157e05 commit 9cb0e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docz-core/src/Entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const writeAppFiles = async (config: Config, dev: boolean): Promise<void> => {
const onPreRenders = props('onPreRender')
const onPostRenders = props('onPostRender')

const root = await compiled(fromTemplates('root.tpl.js'))
const js = await compiled(fromTemplates('index.tpl.js'))
const root = await compiled(fromTemplates('root.tpl.js'), { minimize: false })
const js = await compiled(fromTemplates('index.tpl.js'), { minimize: false })
const websocketUrl = `ws://${config.websocketHost}:${config.websocketPort}`

const rawRootJs = root({
Expand Down

0 comments on commit 9cb0e1d

Please sign in to comment.