Skip to content

Commit

Permalink
chore: fix template exploerer boot with no storage
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 4, 2022
1 parent 7007ffb commit 2b506d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/template-explorer/src/index.ts
Expand Up @@ -42,7 +42,9 @@ window.init = () => {
)
// functions are not persistable, so delete it in case we sometimes need
// to debug with custom nodeTransforms
delete persistedState.options.nodeTransforms
if (persistedState.options) {
delete persistedState.options.nodeTransforms
}

ssrMode.value = persistedState.ssr
Object.assign(compilerOptions, persistedState.options)
Expand Down

0 comments on commit 2b506d7

Please sign in to comment.