1.1.1 • Published 9 years ago

eslisp-loader v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

eslisp loader for webpack

Installation

npm install eslisp-loader --save-dev

Usage

var exportsOfFile = require("eslisp!./file.esl");
// => return exports of executed and compiled file.esl

Documentation: Using loaders

Configuration

{
	module: {
		loaders: [
			{ test: /\.esl$/, loader: 'eslisp' }
		]
	},
	eslisp: {
		// A list of paths to be required as transform macros
		transforms: [
			'eslisp-camelify',   // Module name
			'./path/to/macro.js' // Path
		]
	}
}

License

MIT (http://www.opensource.org/licenses/mit-license.php)