包详细信息

ucompiler-plugin-babel

steelbrain11MIT3.1.1

Babel support for UCompiler

ucompiler

自述文件

UCompiler-Plugin-Babel

This is a Babel support package for UCompiler. To compile your files using babel, simply start them with 'use babel'.

How to Use

You first need to add ucompiler-plugin-babel to your devDependencies within your package.json, then simply add "babel" to the plugins field in your .ucompiler rule.

License

This project is licensed under the terms of MIT License

更新日志

3.1.1

  • Produce source map paths relative to root

3.1.0

  • 'use babel' is no longer required for files to be compiled using babel. Since UCompiler v3, this really didn't make any sense since support for compiling individual files was removed and specific filters were added.

3.0.0

  • A magic happened