1.1.1 • Published 9 years ago
eslisp-loader v1.1.1
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
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
]
}
}