Skip to content

Commit 4713578

Browse files
committed
workflow(template-explorer): handle debugging with nodeTransforms
1 parent 31d6a31 commit 4713578

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/template-explorer/src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ window.init = () => {
4040
localStorage.getItem('state') ||
4141
`{}`
4242
)
43+
// functions are not persistable, so delete it in case we sometimes need
44+
// to debug with custom nodeTransforms
45+
delete persistedState.options.nodeTransforms
4346

4447
ssrMode.value = persistedState.ssr
4548
Object.assign(compilerOptions, persistedState.options)

0 commit comments

Comments
 (0)