New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-zoom-react-ui

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-zoom-react-ui

use ui as required by babel

  • 0.1.1
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-zoom-react-ui

Installation

npm install babel-plugin-zoom-react-ui -D

Usage

plugins:["babel-plugin-zoom-react-ui"]

Other import situation

plugins: [
  [
    'babel-plugin-zoom-react-ui',
    {
      map: {
        '@components': function({ name, prefixName, changedName }) {
          /*
            changedName  Button->button,DatePicker->date-picker,
            prefixName  {prefix:string,name:string}  Chart-Column -> {prefix:Chart,name:Column}
            if change imported componentName like Chart-Column js:{ rely: 'recharts',name:'Column'}
        */
          return {
            js: { rely: `your new ui js position` }, //where render js path,and name
            css: { rely: `your new ui css position` } //which render css
          };
        }
      },
      useTheme:false//optional,Boolean,if you use this opt,you need use less-loader in webpack,and config modifyVars:{} && javascriptEnabled:true
    }
  ]
];

Keywords

FAQs

Package last updated on 10 May 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc