0.2.0 • Published 10 years ago

grunt-furnace v0.2.0

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

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

See OzJS Release History

License

Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.

0.2.0

10 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago