gulp-umd icon indicating copy to clipboard operation
gulp-umd copied to clipboard

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

Open niemyjski opened this issue 10 years ago • 4 comments

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

niemyjski avatar May 01 '15 11:05 niemyjski

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.

WHenderson avatar Aug 11 '15 06:08 WHenderson

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

pyrsmk avatar Oct 28 '15 09:10 pyrsmk

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 ;)

pyrsmk avatar Oct 28 '15 10:10 pyrsmk

Sounds like we need an optional dependency?

CodeMan99 avatar Apr 27 '18 02:04 CodeMan99