We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae00d4 commit 1180d4bCopy full SHA for 1180d4b
guide/api-environment-runtimes.md
@@ -190,15 +190,10 @@ export interface ModuleRunnerOptions {
190
| InterceptorOptions
191
/**
192
* HMR を無効にするか、HMR オプションを設定します。
193
+ *
194
+ * @default true
195
*/
- hmr?:
- | false
196
- | {
197
- /**
198
- * HMR ロガーを設定します。
199
- */
200
- logger?: false | HMRLogger
201
- }
+ hmr?: boolean | ModuleRunnerHmr
202
203
* カスタムモジュールキャッシュ。指定されていない場合は、モジュールランナーの
204
* インスタンスごとに個別のモジュールキャッシュが作成されます。
@@ -356,6 +351,7 @@ export const runner = new ModuleRunner(
356
351
return response.json()
357
352
},
358
353
354
+ hmr: false, // HMR は transport.connect を必要とするため HMR を無効にする
359
355
360
new ESModulesEvaluator(),
361
)
0 commit comments