mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(tauri.js) revert nullish coalesce addition (#799)
This commit is contained in:
5
.changes/revert_nullish_coalesce_behavior_change.md
Normal file
5
.changes/revert_nullish_coalesce_behavior_change.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri.js": patch
|
||||
---
|
||||
|
||||
Revert a nullish coalescing operator that changed embedded server/inliner behavior.
|
||||
@@ -339,7 +339,7 @@ class Runner {
|
||||
}
|
||||
}
|
||||
|
||||
if ((!cfg.ctx.dev && cfg.tauri.embeddedServer.active) ?? !inlinerEnabled) {
|
||||
if ((!cfg.ctx.dev && cfg.tauri.embeddedServer.active) || !inlinerEnabled) {
|
||||
const html = rewriteHtml(originalHtml, domInterceptor)
|
||||
resolve({ inlinedAssets, html })
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user