grunt-furnace
v0.2.0
Published
grunt tasks for transforming code from one format to another
Downloads
3
Readme
grunt-furnace
Grunt tasks for transforming code from one format to another
Support:
- template > AMD
- AMD > CJS (comming soon...)
- CJS > AMD (comming soon...)
- module pattern > AMD (comming soon...)
- AMD > module pattern (comming soon...)
Config Example
furnace: {
tplExample1: {
options: {
importas: 'text',
exportas: 'amd',
},
src: 'tpl/**/*.tpl',
dest: 'js/app/tpl/'
},
tplExample2: {
options: {
importas: 'text',
exportas: 'amd',
},
files: [{
expand: true, // Enable dynamic expansion.
cwd: 'tpl/',
src: ['**/*.tpl'], // Actual pattern(s) to match.
dest: 'js/app/', // Destination path prefix.
ext: '.tpl.js'
}]
}
},
Source code
More References
See OzJS References
Release History
License
Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.