takla-builder-presets
[takla] 编译工具默认预置
Last updated 4 months ago by mycoin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install takla-builder-presets 
SYNC missed versions from official npm registry.

takla-builder-presets

Easily load shareable presets.

Install

npm install takla-builder-presets

Usage

const {
  presetBabels,
  presetPostcss,
  presetTypescript
} = require("takla-builder-presets");

const workspace = "./";

const babels = presetBabels(workspace);
const postcss = presetPostcss(workspace);
const typescript = presetTypescript(workspace);

console.log(babels);
console.log(postcss);
console.log(typescript);

License

MIT

Current Tags

  • 0.0.3                                ...           latest (4 months ago)

2 Versions

  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |