Commit 47fdabc
fix: eliminate webpack.config.js conflict prompt for standard configs
When detecting a standard Shakapacker webpack.config.js file, the generator
now automatically replaces it without prompting the user. This is achieved by:
1. Removing the existing file silently before creating the new one
2. Showing a clear message about the auto-upgrade
3. Only prompting for truly custom configurations
This eliminates the confusing conflict dialog for 95% of users while still
protecting custom webpack configurations.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 545bab2 commit 47fdabc
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
0 commit comments