postmask
v1.1.6
Published
Mask optimizers runner
Downloads
5
Readme
PostMask
Runs mask optimizers
API
var postmask = require('postmask');
postmask
.processSource(template, path, options)
.then(optimizedTemplate => {}, error => {});
OptionsExample = {
plugins: [ "postmask-babel" ],
minify: false,
configs: {
'postmask-babel': {
presets: ['es2015', 'stage-1']
}
}
};
(c) MIT License - Atma.js Project