Skip to content

Commit 41dade5

Browse files
committed
Remove HMR enabled code
1 parent bf4c5ee commit 41dade5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/app/src/sandbox/eval/transpiled-module.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ export type LoaderContext = {
134134
// Remaining loaders after current loader
135135
remainingRequests: string;
136136
template: string;
137-
webpackHMREnabled: boolean;
138137
};
139138
/* eslint-enable */
140139

@@ -538,7 +537,6 @@ export default class TranspiledModule {
538537
path: this.module.path,
539538
template: manager.preset.name,
540539
remainingRequests: '', // will be filled during transpilation
541-
webpackHMREnabled: manager.webpackHMR,
542540
};
543541
}
544542

@@ -836,7 +834,6 @@ export default class TranspiledModule {
836834
id: this.getId(),
837835
exports: {},
838836
hot: {
839-
enabled: () => manager.webpackHMR,
840837
accept: (path: string | Array<string>, cb) => {
841838
if (
842839
typeof path === 'undefined' ||

0 commit comments

Comments
 (0)