
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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
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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.