Skip to content

fix(electron): export the CapacitorSQLite class from the bundle - #706

Open
robingenz wants to merge 1 commit into
masterfrom
fix/electron-named-export
Open

robingenz wants to merge 1 commit into
masterfrom
fix/electron-named-export

Conversation

@robingenz

Copy link
Copy Markdown
Member

What changed

Since version 7.0.0 the Electron bundle only had a default export. @capacitor-community/electron looks the plugin class up by its name, so the plugin was reported as not implemented. The bundle now has the named CapacitorSQLite export again, in the same form as in 6.0.2.

The build now fails when this export is missing.

How it was tested

The bundle was built with and without the change and loaded in node with stubbed modules. It was not run in an Electron app.

Close #667

🤖 Generated with Claude Code

The bundle only had a default export since 7.0.0, so @capacitor-community/electron could not find the plugin class. The build now fails when the named export is missing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: "CapacitorSQLite" plugin is not implemented on electron

1 participant