clinch.js6

0.1.1 • Public • Published

Dependency Status Build Status

clinch.jsx

This is external addon for clinch - CommonJS to browser packer to support ES2015 .js files.

How to use

Clinch = require 'clinch'
clinch_js6 = require 'clinch.js6'

# create packer object
packer = new Clinch runtime : on
# add plugin (chainable)
packer.addPlugin clinch_js6
# or add plugin with custom extension
packer.addPlugin clinch_js6 extension: '.js6'

For more information see main module documentation.

Options

extension

Use options extension to set up custom file extension.

Important - extension MUST start with dot (.), for example .js6, not js6.

About ES2015

This addon use es2015 plugin for Babel.

Readme

Keywords

Package Sidebar

Install

npm i clinch.js6

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • meettya