@dzo/babel-plugin-dz

1.0.0 • Public • Published

babel-plugin-tntd-utils

安装

npm install babel-plugin-tntd-utils --save-dev

使用说明

// .babelrc
"plugins": [
    [
      "babel-plugin-tntd-utils",
      {
        "library": "yournpm" // 支持数组["yournpm", "yournpm2"]
      },
      "syntax-decorators"
    ],
  ]
  
// index.js
import { helloworld } from 'yournpm';

      ↓ ↓ ↓ ↓ ↓ ↓

var _helloworld = require('yournpm/lib/helloworld');

Install

npm i @dzo/babel-plugin-dz

DownloadsWeekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.47 kB

Total Files

5

Last publish

Collaborators

  • xkbhcq
  • jws132
  • dzweb
  • bruceliu68
  • kakarrotto
  • eric168