Skip to content

fix: resolve CSS class names for npm consumers#2

Merged
markrahimi merged 1 commit into
mainfrom
fix/css-module-resolution
Jun 4, 2026
Merged

fix: resolve CSS class names for npm consumers#2
markrahimi merged 1 commit into
mainfrom
fix/css-module-resolution

Conversation

@markrahimi

Copy link
Copy Markdown
Owner

Summary

  • Converted .module.css to plain .css — tsup was not resolving
    CSS module class names correctly for npm consumers
  • Replaced all styles['class-name'] references with plain strings
  • Updated tsup config to export plain CSS directly

Changes

  • src/styles/mandoo.css — new plain CSS file (replaces module)
  • src/MandooEditor.tsx — plain class names instead of styles[...]
  • tsup.config.ts — simplified, no CSS module processing
  • README.md — added Form Integration section + name prop docs

Type of change

  • Bug fix

Closes

Closes #1

@markrahimi markrahimi self-assigned this Jun 4, 2026
@markrahimi
markrahimi merged commit f8a70d0 into main Jun 4, 2026
1 check passed
@markrahimi
markrahimi deleted the fix/css-module-resolution branch June 4, 2026 12:12
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.

CSS styles not loading when installed from npm

1 participant