babel-html
Compile JS embedded in HTML with babel
Last updated 5 months ago by phaux .
ISC · Repository · Bugs · Original npm · Tarball
$ cnpm install babel-html 
SYNC missed versions from official npm registry.

babel-html

Usage: babel-html -s <src-dir> -d <dest-dir>

Options:
  -s, --src-dir     Source directory                         [string] [required]
  -d, --dest-dir    Destination directory                    [string] [required]
  -D, --copy-files  Copy non-compilable files                          [boolean]
  -w, --watch       Watch mode                                         [boolean]
  -m, --minify      Minify HTML, CSS nad JS                            [boolean]
  -q, --quiet       Disable logging                                    [boolean]
  -h, --help        Show help                                          [boolean]

This will compile all scripts (embedded in html or regular js files) in src-dir and save the results to dest-dir

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (8)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |