Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move vite-plugin-css-injected-by-js plugin to dev deps [#904] #932

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

elylucas
Copy link
Member

Purpose

There was a vite plugin in the experiences-react-sdk package that was being registered as a regular dep (where it should of been a dev dep). Therefore, the plugin and all its dependencies where being installed in apps that didn't need it.

Closes #904

Approach

Moved the dep to dev deps. We should consider removing altogether (as I don't think its used at the moment), but this was the safest option.

@elylucas elylucas requested review from a team as code owners January 16, 2025 12:33
Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nextjs-marketing-demo-bug-test ✅ Ready (Inspect) Visit Preview Jan 16, 2025 0:34am
3 Skipped Deployments
Name Status Preview Updated (UTC)
experience-builder-test-app ⬜️ Ignored (Inspect) Jan 16, 2025 0:34am
studio-nextjs-marketing-demo ⬜️ Ignored (Inspect) Jan 16, 2025 0:34am
studio-react-vite-template ⬜️ Ignored (Inspect) Jan 16, 2025 0:34am

@elylucas elylucas changed the title chore: move vite-plugin-css-injected-by-js plugin to dev deps chore: move vite-plugin-css-injected-by-js plugin to dev deps [#904] Jan 16, 2025
@elylucas elylucas changed the title chore: move vite-plugin-css-injected-by-js plugin to dev deps [#904] fix: move vite-plugin-css-injected-by-js plugin to dev deps [#904] Jan 16, 2025
@elylucas elylucas merged commit 309f325 into development Jan 16, 2025
27 checks passed
@elylucas elylucas deleted the move-vite-css-in-js-plugin branch January 16, 2025 17:00
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.

Unnecessary (?) dependency (vite-plugin-css-injected-by-js) causing build bloat
2 participants