
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@callstack/repack-plugin-reanimated
Advanced tools
A plugin for @callstack/repack that integrates react-native-reanimated
@callstack/repack-plugin-reanimated
is a plugin for @callstack/repack
that integrates react-native-reanimated
into your React Native projects.
This plugin exists in order to simplify the setup required to get react-native-reanimated
working with Re.Pack and to minimize the impact on build performance. It looks for relevant keywords like worklet
inside the source before transforming the file with babel
.
npm install -D @callstack/repack-plugin-reanimated
To add the plugin to your Re.Pack configuration, update your rspack.config.js
or webpack.config.js
as follows:
import { ReanimatedPlugin } from '@callstack/repack-plugin-reanimated';
export default (env) => {
// ...
return {
// ...
plugins: [
// ...
new ReanimatedPlugin(),
],
};
};
The plugin also comes with it's own loader, which you can use on it's own inside rspack.config.js
or webpack.config.js
like this:
export default (env) => {
// ...
return {
// ...
module: {
rules: [
{
test: /\.ts$/,
use: {
loader: '@callstack/repack-plugin-reanimated/loader',
options: {
babelPlugins: [
[
'@babel/plugin-syntax-typescript',
{ isTSX: false, allowNamespaces: true },
],
],
},
},
},
],
},
};
};
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 react-native-reanimated
We found that @callstack/repack-plugin-reanimated 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.