Add a deprecation warning for the resource option in dioxus.toml (#2642)
* Add a deprecation warning for the resource option in dioxus.toml * fix name of resource config * fix tab spacing issue --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
a6c025c8ef
commit
8636ada3a4
7 files changed
+91
-95
No files matched your search
@@ -176,7 +176,7 @@ impl BuildRequest {
|
||||
// Note that we do this last since the webserver will attempt to serve the index.html file
|
||||
// If we do this too early, the wasm won't be ready but the index.html will be served, leading
|
||||
// to test failures and broken pages.
|
||||
let html = self.prepare_html(assets)?;
|
||||
let html = self.prepare_html(assets, progress)?;
|
||||
let html_path = self.dioxus_crate.out_dir().join("index.html");
|
||||
std::fs::write(html_path, html)?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user