swc-plugin-react-native-web-css-modules
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

swc_plugin_react_native_web_css_modules

A SWC plugin that allows you to use CSS modules with React Native Web

How does it work?

All imports of .css or .scss files will be wrapped with a function call that turns all the exported classnames into https://github.com/necolas/styleq (what RNW uses internally) compatible objects

Building

!! At the moment you need to build with Rust 1.65.0 to avoid a "memory access out of bounds error"

Readme

Keywords

Package Sidebar

Install

npm i swc-plugin-react-native-web-css-modules

Weekly Downloads

1

Version

0.0.14

License

ISC

Unpacked Size

3.36 MB

Total Files

6

Last publish

Collaborators

  • censkh