eduardolundgren / gulp-umd

Gulp plugin for build JavaScript files as Universal Module Definition, aka UMD
MIT License
126 stars 14 forks source link

Multilanguage templates #5

Closed unclechu closed 6 years ago

unclechu commented 9 years ago

It's about this issue: https://github.com/eduardolundgren/gulp-umd/issues/3

I replaced JavaScript-specific options to abstract data, and do what we need with this arrays in template. Here my template for LiveScript but no need to include this template to gulp-umd, cause this syntax is LiveScript version-specific. But with this pull request we can just write a template for new language (CoffeeScript ot TypeScript for example).

unclechu commented 9 years ago

@eduardolundgren why you doesn't accept this pull request?

unclechu commented 7 years ago

It'll never be merged.

eduardolundgren commented 7 years ago

@unclechu Indentation should be done by another tool not this one, for instance esformatter is a good option.

I am sorry for not looking the pull request before.

unclechu commented 7 years ago

@eduardolundgren Okay, I'll see how I can use this tool for that some time later.

CodeMan99 commented 6 years ago

Closing as this feature since it has not seen any traction. There are likely other ways to accomplish this task. For example, transpiling files in the pipeline before wrapping the module(s) with UMD.