press-wind
press-wind copied to clipboard
Update all dependencies to latest stable versions (2025)
fix(build): Refactor Vite config to correctly build editor styles.
This commit refactors the build process for the editor styles (style-editor.css) to use a dedicated Vite configuration instead of the problematic postcss-cli command.
Changes:
- A new
vite.config.editor.jsfile is introduced to handle the editor-specific build. - The
build:editorscript inpackage.jsonis updated to use Vite with the new configuration. - The
assets/css/styles.cssentry point is updated to use the correct Tailwind v4 syntax that is compatible with the Vite build process. - The generated
style.cssandstyle-editor.cssfiles are now correctly ignored by Git.
This resolves the issue where the style-editor.css file was not being generated correctly, providing a more robust and maintainable build process.