babel-plugin-b-rc
A babel plugin work for b-rc and b-rc-m
Last updated a year ago by strong9527 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-b-rc 
SYNC missed versions from official npm registry.

babel-plugin-b-rc

A babel plugin work for b-rc and b-rc-m in order to support tree-shaking.

.babelrc


{
  "plugins": [
    ["b-rc", {style: true}],  // set the style param will import the style files.
  ]
}


from


import {Refresh, DatePicker} from 'b-rc-m'

to


// if style is assigned as true.
import 'b-rc-m/lib/refresh/style'
import b-rc-m/lib/data-picker/style'

import Refresh from 'b-rc-m/lib/refresh'
import DatePicker from 'b-rc-m/lib/date-picker'

Current Tags

  • 2.0.0                                ...           latest (a year ago)

12 Versions

  • 2.0.0                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 108
Dependencies (6)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |