package
A plugin for @callstack/repack that integrates NativeWind
npm install @callstack/repack-plugin-nativewindGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 2 packages.
45.3 kB
Includes dependencies.
Latest published Nov 4, 2026
latest
thymikee
thymikee@gmail.com
mdjastrzebski
mdjastrzebski@gmail.com
jbinda
jakub.binda@gmail.com
artus9033
artus9033@gmail.com
rafikitiki
zakrzewski.rafal@gmail.com
admin-callstack
it-admin@callstack.com
hur.ali.ck
hur.ali@callstack.com
jbroma
j.romanczyk@gmail.com
mateusz1913
luigimario1913@gmail.com
robik
dev@robertpasinski.pl
dannyhw
dannyhyunsoowilliams@gmail.com
xeonbloomfield
piotr.milkowski@callstack.com
eduardogracianock
eduardo.graciano@callstack.com
bartoszklonowski
bartosz.klonowski@callstack.com
piotrski
piotr@tomczewski.dev
trozee
ptrocki@gmail.com
camobap
abobrikovich@gmail.com
@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 autoprefixerThese 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.
@callstack/repack is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Callstack is a group of React and React Native geeks, contact us at hello@callstack.com if you need any help with these or just want to say hi!
Like the project? ⚛️ Join the team who does amazing stuff for clients and drives React Native Open Source! 🔥