Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit f1e8081

Browse files
Alexander Vakrilovdtopuzov
Alexander Vakrilov
authored andcommitted
fix: hmr export default crash (#970)
1 parent d4a8dec commit f1e8081

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hmr/hmr-update.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import update from "../hot";
1+
import * as hot from "../hot";
22
import { knownFolders } from "tns-core-modules/file-system";
33

44
declare const __webpack_require__: any;
55

66
export function hmrUpdate() {
77
const applicationFiles = knownFolders.currentApp();
88
const latestHash = __webpack_require__["h"]();
9-
return update(latestHash, filename => applicationFiles.getFile(filename));
9+
return hot(latestHash, filename => applicationFiles.getFile(filename));
1010
}

0 commit comments

Comments
 (0)