cypress-esbuild-preprocessor
cypress-esbuild-preprocessor copied to clipboard
importing css
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.