eduardolundgren / gulp-umd

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

Uncaught ReferenceError: Invalid left-hand side in assignment, when dash is used in source filename #22

Open ghuser opened 7 years ago

ghuser commented 7 years ago

When any source file has dash in its filename, there is a variable name that is generated with dash somewhere, so when trying to use the generated file, I get the following:

Uncaught ReferenceError: Invalid left-hand side in assignment
CodeMan99 commented 6 years ago

Would you rather that the name be used as is or converted to camelcase? Or would it be helpful to have both under options?

Saunved commented 4 years ago

This issue still persists. Would be great if the name was converted to camelcase