I am trying to create a library using EsBuild. I am using keen slider in my library and I am importing keen-slider/keen-slider.min.css in main ts file.
import "keen-slider/keen-slider.min.css"
but in the output css file, keen slider css is not present. instead "import "keen-slider/keen-slider.min.css"" line itself present in output js file.
Can anyone tell me how to import node module css in the bundle?
from Esbuild: Node module CSS are not including in the bundle
No comments:
Post a Comment