Commit 2b3abcf
Fix CSS dependency installation timing in generator
The generator was adding CSS dependencies to package.json but not
installing them before RSpec tests could trigger webpack compilation.
This caused "Cannot find module 'mini-css-extract-plugin'" errors
when the test helper tried to compile assets.
Added install_js_dependencies method that runs yarn install after
adding dependencies, ensuring CSS loaders are available before any
webpack compilation attempts during tests.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 67428aa commit 2b3abcf
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
238 | 243 | | |
239 | 244 | | |
240 | 245 | | |
| |||
0 commit comments