ipfs/service-worker-gateway

bug: css imports are not included in final assets

SgtPooki opened this issue · 0 comments

I used git bisect to discover that 0c81f2a introduced a bug where css imports are not being included.

you can prove this by searching for background-color: grey with <CMD+OPTION+F> in browser dev tools when running the code locally:

i.e. https://github.com/ipfs-shipyard/helia-service-worker-gateway/blob/220e9cb58c6cae00c0ae50e46f912df68ace60c1/src/components/local-storage-toggle.css#L17

app.css is also not included.

Adding the contents of local-storage-toggle.css to the inspector stylesheet in chrome devtools causes the component to show:

image