
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@callstack/repack-plugin-nativewind
Advanced tools
A plugin for @callstack/repack that integrates NativeWind
@callstack/repack-plugin-nativewind is a plugin for @callstack/repack that enables integrating NativeWind into your React Native projects.
This plugin seamlessly integrates NativeWind with Re.Pack's build process by:
First, follow these steps from the official NativeWind installation guide:
Then install the Re.Pack NativeWind plugin and it's dependencies:
npm install -D @callstack/repack-plugin-nativewind postcss postcss-loader autoprefixer
These additional dependencies (postcss, postcss-loader, and autoprefixer) are required for processing Tailwind CSS with Webpack/Rspack, as specified in the official Tailwind CSS Rspack guide. They enable PostCSS processing and autoprefixing of CSS styles in your build pipeline.
Note: If you are using Webpack (not Rspack), you need to add the following configuration to your
babel.config.js:plugins: [ [ '@babel/plugin-transform-react-jsx', { runtime: 'automatic', importSource: 'nativewind', }, ], ],
To add the plugin to your Re.Pack configuration, update your rspack.config.js or webpack.config.js as follows:
import { NativeWindPlugin } from "@callstack/repack-plugin-nativewind";
export default (env) => {
// ...
return {
// ...
plugins: [
// ...
new NativeWindPlugin(),
],
};
};
Check out our website at https://re-pack.dev for more info and documentation or our GitHub: https://github.com/callstack/repack.
FAQs
A plugin for @callstack/repack that integrates NativeWind
The npm package @callstack/repack-plugin-nativewind receives a total of 58 weekly downloads. As such, @callstack/repack-plugin-nativewind popularity was classified as not popular.
We found that @callstack/repack-plugin-nativewind demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.