@nutui/babel-plugin-separate-import
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5898