Socket
Socket
Sign inDemoInstall

react-native-reanimated-swc-plugin

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-reanimated-swc-plugin

In order to use the Reanimated's SWC plugin, you need to add it to your `.swcrc` file:


Version published
Weekly downloads
126
increased by77.46%
Maintainers
1
Install size
4.87 MB
Created
Weekly downloads
 

Readme

Source

In order to use the Reanimated's SWC plugin, you need to add it to your .swcrc file:

{
  "jsc": {
    "experimental": {
      "plugins": [
        ["react-native-reanimated-swc-plugin"]
      ]
    }
  }
}

If you're using Next.js, you need to set the plugin in next.config.js instead:

module.exports = {
  experimental: {
    swcPlugins: [['react-native-reanimated-swc-plugin']],
  },
};

Below is a table showing compatibility of the plugin. Please note that swc_core version refers to the version of the swc_core crate that the plugin has been compiled against. The last column is the version of Next.js with that version of swc_core crate included.

Plugin versionswc_core versionNext.js version
0.3.00.48.1213.1.2
0.2.00.43.2313.0.5
0.1.00.40.1313.0.0

Keywords

FAQs

Last updated on 18 Jan 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc