eduardolundgren / gulp-umd

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

returnExportsGlobal.js.is not included in the templates directory. #10

Open niemyjski opened 9 years ago

niemyjski commented 9 years ago

In the docs it talks about being able to use returnExportsGlobal.js. but it's not included in the npm package.

WHenderson commented 9 years ago

Hi niemyjski,

I'm not the maintainer but since I was already here looking to get my pull request merged, I thought I'd answer.

Its probably not as clear as it should be, but the file you refer to is actually part of the umd project. To use it, you will need to create your own template and include it using either the template or templateSource options.

pyrsmk commented 8 years ago

So, in that case, gulp-umd seems kinda useless and all its benefits are lost :s

pyrsmk commented 8 years ago

At the end of the documentation, it's mentionned that we can achieved it by simply installing https://github.com/talyssonoc/umd-templates

Configure the template option and you're done!

The documentation should be clearer, but I think this issue can be closed ;)

CodeMan99 commented 6 years ago

Sounds like we need an optional dependency?