-
Hi all! import styles from './b.module.css';
export const b = () => (<span className={styles.foo} />); I want to replace the import with a const styles = {};
export const b = () => (<span className={styles.foo} />); Right now I'm able to remove the CSS Modules import and then add the const with css mapping but I end up with this: export const b = () => (<span className={styles.foo} />);
const styles1 = {}; I've followed the instructions in the Plugin cheatsheet and then I'm using Is there any way of controlling the order of these events? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Read https://rustdoc.swc.rs/swc_ecma_transforms_base/fn.resolver.html |
Beta Was this translation helpful? Give feedback.
Read https://rustdoc.swc.rs/swc_ecma_transforms_base/fn.resolver.html