You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In development mode, css modules are included in to bundles.
However, in production mode, css modules are not included in to bundles.
Dummy Solution:
include each css file in renderHtml.js
i.e.
Better Solution:
create the css folder in the public folder directory, then include all of them like @wellyshen did, (You can inspect server.js and renderHtml.js to get an idea).
bug
Expected Behavior
I set css-modules to disable, change scss imports. I want my component to work the same in both production and development mode.
Actual Behavior
it's working only in development mode.
Your Environment
The text was updated successfully, but these errors were encountered: