You can see the modules are being properly placed in the built .css file:
However, when I run the example app, while the classes are being applied, the style sheet seems to be missing and so no actual CSS properties are being attached.
I've tried adding a postcssrc (and postcss.config.js) like so:
Current Behavior
My application is using CSS Modules. These are being exported correctly with the following
tsdx.config.js
:You can see the modules are being properly placed in the built
.css
file:However, when I run the example app, while the classes are being applied, the style sheet seems to be missing and so no actual CSS properties are being attached.
I've tried adding a
postcssrc
(andpostcss.config.js
) like so:Expected behavior
The styles are applied because the stylesheet is included in the parcel bundle.
Suggested solution(s)
An example of how to make better use of the example app so that it mirrors that exported assets would be appreciated.
Additional context
Your environment