Skip to content

fix: test against vite, fix missing styles in build - #9

Merged
nstepien merged 1 commit into
mainfrom
test-vite
Feb 28, 2026
Merged

nstepien merged 1 commit into
mainfrom
test-vite

Conversation

@nstepien

@nstepien nstepien commented Feb 28, 2026 •

Copy link
Copy Markdown
Owner
  • Updated rolldown dependency in package.json to version 1.0.0-rc.6.
  • Refactored ecij plugin in index.ts:
    • Import stylesheets of imported modules directly instead of the imported modules only
  • Modified tests in plugin.test.ts to use vite for building instead of rolldown

- Updated rolldown dependency in package.json to version 1.0.0-rc.6.
- Refactored ecij plugin in index.ts:
  - Introduced stylesheetImportPerFile map to track generated CSS module IDs.
  - Renamed modulesWithSideEffects to stylesheetDependencies for clarity.
  - Adjusted logic to populate stylesheetDependencies based on imported files.
  - Cleared stylesheetImportPerFile cache on build end.
- Modified tests in plugin.test.ts to use vite for building instead of rolldown:
  - Updated fixture paths and adjusted output handling.
  - Ensured output validation and formatting consistency.
@nstepien nstepien self-assigned this Feb 28, 2026
@nstepien
nstepien marked this pull request as ready for review February 28, 2026 19:46
@nstepien
nstepien merged commit e44e6c8 into main Feb 28, 2026
4 checks passed
@nstepien
nstepien deleted the test-vite branch February 28, 2026 19:46
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.

1 participant