Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nutui/babel-plugin-separate-import

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nutui/babel-plugin-separate-import - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

index.js

@@ -5,3 +5,3 @@ const {join} = require('path');

const isLocaleExtra = curr => ~['locale', 'i18n'].indexOf(curr);
const isExportFuncExtra = curr => ~['dialog', 'toast', 'flex'].indexOf(curr);
const isExportFuncExtra = curr => ~['dialog', 'toast', 'flex', 'steps'].indexOf(curr);

@@ -8,0 +8,0 @@ /**

{
"name": "@nutui/babel-plugin-separate-import",
"version": "0.1.3",
"version": "0.1.4",
"description": "按需构建nutui2.0的组件,减小打包体积",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -52,4 +52,4 @@ ### @nutui/babel-plugin-separate-import

```js
import Button from '@nutui/nutui/dist/src/packages/button/button.vue';
import '@nutui/nutui/dist/src/packages/button/button.css';
import Button from '@nutui/nutui/dist/packages/button/button.vue';
import '@nutui/nutui/dist/packages/button/button.css';
```

@@ -56,0 +56,0 @@

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