New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

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

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Transform CSS module exports into RNW compatible format

latest
npmnpm
Version
0.0.14
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

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"

Keywords

swc-plugin

FAQs

Package last updated on 08 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts