Skip to content

Commit

Permalink
chore: more typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Jun 21, 2024
1 parent f1d6d9c commit 20d738e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/tiny-refresh/src/transform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const NotFn = "hello";
import * as $$refresh from "/refresh-runtime";
if (import.meta.hot) {
() => import.meta.hot.accept(); // need a fake "accept" for Vite to notice
const $$manager = $$runtime.setupVite(
const $$manager = $$refresh.setupVite(
import.meta.hot,
$$runtime,
false
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny-refresh/src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import * as $$runtime from "${options.runtime}";
import * as $$refresh from "${options.refreshRuntime}";
if (import.meta.hot) {
() => import.meta.hot.accept(); // need a fake "accept" for Vite to notice
const $$manager = $$runtime.setupVite(
const $$manager = $$refresh.setupVite(
import.meta.hot,
$$runtime,
${options.debug ?? false}
Expand Down Expand Up @@ -49,7 +49,7 @@ export async function transformWebpack(
import * as $$runtime from "${options.runtime}";
import * as $$refresh from "${options.refreshRuntime}";
if (import.meta.webpackHot) {
const [$$manager, $$finish] = $$runtime.setupWebpack(
const [$$manager, $$finish] = $$refresh.setupWebpack(
import.meta.webpackHot,
$$runtime,
${options.debug ?? false},
Expand Down

0 comments on commit 20d738e

Please sign in to comment.