1.0.3 • Published 8 years ago

lasso-babel v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

lasso-babel

Build Status

This Node.js module is a plugin for the Lasso.js, that provides support to compile JavaScript with Babel.

Install

$ npm install --save lasso-babel

Install Babel preset you need for your project

$ npm install --save babel-preset-es2015

Usage

In your dependencies list in browser.json, just go ahead and all your source .jsx files

[
    "babel:main.js",
    "babel:components/toolbar.js",
    ...
]

And add lasso-babel as the required plugin in lasso-config.json

{
	"plugins": [
	    {
            "plugin": "lasso-babel",
            "config": {
            	"presets": ["es2015"]
        	}
        }
	    ...
	],
	...
}

You can also put the Options to .babelrc if you'd like to.

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago