diff --git a/packages/template-explorer/src/index.ts b/packages/template-explorer/src/index.ts index d083d35ca4e..1e8efdb95d6 100644 --- a/packages/template-explorer/src/index.ts +++ b/packages/template-explorer/src/index.ts @@ -40,6 +40,9 @@ window.init = () => { localStorage.getItem('state') || `{}` ) + // functions are not persistable, so delete it in case we sometimes need + // to debug with custom nodeTransforms + delete persistedState.options.nodeTransforms ssrMode.value = persistedState.ssr Object.assign(compilerOptions, persistedState.options)