Commit 67428aa
Revert webpack CSS modules configuration changes
The webpack configuration works correctly in production. The issue was
not with the webpack config itself, but with the test environment not
having the CSS dependencies properly installed. This reverts back to
the clean CSS modules configuration that works in real applications.
The actual issue needs to be fixed in how the generator tests handle
dependency installation timing, not by modifying the webpack config
that users will receive.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 04c8b91 commit 67428aa
File tree
1 file changed
+5
-45
lines changed- lib/generators/react_on_rails/templates/base/base/config/webpack
1 file changed
+5
-45
lines changedLines changed: 5 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 5 | + | |
16 | 6 | | |
17 | 7 | | |
18 | 8 | | |
19 | 9 | | |
20 | 10 | | |
21 | 11 | | |
22 | 12 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 13 | + | |
29 | 14 | | |
30 | 15 | | |
31 | 16 | | |
| |||
42 | 27 | | |
43 | 28 | | |
44 | 29 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 30 | + | |
| 31 | + | |
72 | 32 | | |
73 | 33 | | |
74 | 34 | | |
75 | 35 | | |
76 | | - | |
| 36 | + | |
0 commit comments