Using Example App, CSS isn't included when inject: false
#1015
Labels
kind: support
Asking for support with something or a specific use case
scope: integration
Related to an integration, not necessarily to core (but could influence core)
solution: duplicate
This issue or pull request already exists
solution: intended behavior
This is not a bug and is expected behavior
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
![Screen Shot 2021-04-20 at 7 46 01 AM](https://user-images.githubusercontent.com/39878535/115398289-a0411a00-a1ac-11eb-9901-a56f02c7d53c.png)
.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
The text was updated successfully, but these errors were encountered: