Skip to content

Commit

Permalink
🐛 fix hot enabling again
Browse files Browse the repository at this point in the history
  • Loading branch information
FurryR committed Apr 22, 2024
1 parent 550923a commit 3de56a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compiler/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ export default function patchRuntime(vm: VM) {
// Compatibility with Turbowarp
(vm as any).exports
})
patchTarget(vm)
patchRenderer(vm)
patchIO(vm)
Object.defineProperty(vm as any, 'exports', {
get() {
return hyrenExports
Expand All @@ -143,6 +140,9 @@ export default function patchRuntime(vm: VM) {
},
configurable: true
})
patchTarget(vm)
patchRenderer(vm)
patchIO(vm)

runtime.constructor.prototype.emitCompileError = function (
target: VM.RenderedTarget,
Expand Down

0 comments on commit 3de56a5

Please sign in to comment.