fix: fix _interopDefault implementation

This commit is contained in:
Pooya Parsa 2021-01-21 15:49:34 +01:00
parent 4f09b514f1
commit d94aec4841

View File

@ -10,7 +10,7 @@ import clientManifest from '~build/dist/server/client.manifest.json'
// @ts-ignore
import htmlTemplate from '~build/views/document.template.js'
function _interopDefault (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e } }
function _interopDefault (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e }
const renderer = createRenderer(_interopDefault(createApp), {
clientManifest: _interopDefault(clientManifest),