vite_ruby
vite_ruby copied to clipboard
feat: allow skipping dependency install in assets:precompile
Description 📖
We want to use the assets:precompile extension but we don't want it to install dependencies. This allows setting VITE_RUBY_SKIP_ASSETS_PRECOMPILE_INSTALL=true to skip installation while keeping the rest of the task extensions.
Background 📜
This was happening because dependencies are always installed (yarn install / npx ci) as part of the assets:precompile extension.
The Fix 🔨
Add conditional controlled by VITE_RUBY_SKIP_ASSETS_PRECOMPILE_INSTALL to allow for skipping the installation task.