Share via


WebpackDevMiddlewareOptions.HotModuleReplacementEndpoint 屬性

定義

如果設定,則會覆寫 Webpack 用戶端程式代碼在接聽更新時所連線的 URL。 這必須是類似 「/__webpack_hmr」 (的根相對 URL,這是預設端點) 。

public:
 property System::String ^ HotModuleReplacementEndpoint { System::String ^ get(); void set(System::String ^ value); };
public string HotModuleReplacementEndpoint { get; set; }
member this.HotModuleReplacementEndpoint : string with get, set
Public Property HotModuleReplacementEndpoint As String

屬性值

適用於