-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
auditCodebase audit findingCodebase audit findingdead-codeDead or unreachable codeDead or unreachable code
Description
Problem
@tauri-apps/plugin-window-state (package.json:49) is listed as a production dependency but is never imported in any frontend source file under src/.
The window-state plugin is used purely on the Rust side (tauri_plugin_window_state registered in src-tauri/src/lib.rs). For Tauri v2, the npm package is only needed if frontend JavaScript calls the plugin's JS API — which this project does not.
Impact
Unused dependency adds to node_modules size and install time. No runtime impact since it's never imported or bundled.
Suggested Fix
-"@tauri-apps/plugin-window-state": "^2.4.1",Caveat: Some Tauri plugins register JS-side initialization. Verify window state persistence still works after removal.
Files
package.json:49
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
auditCodebase audit findingCodebase audit findingdead-codeDead or unreachable codeDead or unreachable code