Skip to content

Improve Vite plugin build strategy #767

@petermasking

Description

@petermasking

Currently, the Vite plugin can only run after the Jitar build process because it relies on its output to bundle the segment-aware modules. While this works, it has two drawbacks:

  1. The plugin has knowledge of Jitar's segmentation strategy and depends on its output structure (which hurts maintainability).
  2. The build order is forced: Jitar must run before Vite (which hurts flexibility).

To address these issues, we need to rethink the plugin design.

Metadata

Metadata

Assignees

Labels

buildTasks related to development and ci/cd
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions