CSS @import and background-image path not resolved in Custom Elements
Version
3.2.4
Reproduction link
https://github.com/akibrk/custom-element-test/tree/css-issue
Steps to reproduce
Clone the repo -
npm run install
npm run build
- copy the output from dist into demo directory
- run
npx http-server
What is expected?
Output with file path resolved, and img and css folders alongside the output files.
What is actually happening?
Path is not being resolved, no css/img folders generated.
Custom elements with static assets. Not able to load assets from node_modules.