cypress-esbuild-preprocessor icon indicating copy to clipboard operation
cypress-esbuild-preprocessor copied to clipboard

importing css

Open jgirardet opened this issue 3 years ago • 0 comments

Hi, I'm trying to use this plugin with component testing. It adds this small amount of speed which gives a very smooth dev experience. :+1: However, I can't apply my css styles. With regular esbuild, I just add "index.css" to root html and it's ok. I tried import "mycss.css" in support/index.js. Looking at : /home/myhome/.config/Cypress/cy/production/projects/htmlrew-c7050eed47b7365eab4267f47e5954f4/bundles/cypress/support/ I can see a index.css bundling my "mycss". So it seems to be handled. I don't know if it's a limitation of this plugin/cypress or esbuild.

jgirardet avatar Apr 05 '21 21:04 jgirardet