clinch.js6
v0.1.1
Published
ES2015 js processor for Clinch
Downloads
17
Readme
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
.