Skip to content

fix: resolve options page Vite build error - #2

Merged
asimawdah merged 2 commits into
mainfrom
fix/options-html-css-build
Oct 9, 2026
Merged

asimawdah merged 2 commits into
mainfrom
fix/options-html-css-build

Conversation

@saoud-mohamed

Copy link
Copy Markdown
Collaborator

Summary

Fix the Vite build error affecting the OpenKey extension options page.

Changes

  • Extracted the inline CSS from src/options/options.html into src/options/options.css.
  • Linked the new stylesheet from the options HTML page.
  • Kept the existing styling in a separate CSS file.

Testing

  • Ran npm run build to verify the extension builds successfully.

Motivation

Separating the inline stylesheet avoids the HTML processing issue encountered during the Vite build.

@asimawdah

Copy link
Copy Markdown
Contributor

Great

@asimawdah
asimawdah merged commit da11fb2 into main Oct 9, 2026
3 checks passed
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.

2 participants