Compile CSS from components that require it
When working on this issue: #42 (closed) (MR: !36 (closed))
I noticed that 2 components use import from './some_styles.css'
inside their components directly. Which causes the test
task to fail, since jest doesn't know what to do with that CSS.
I tried the following plugins to no avail
- https://github.com/thgh/rollup-plugin-css-only
- https://jestjs.io/docs/en/webpack#mocking-css-modules
The components that use this are
- alert
- dropdown