guzart / gulp-ng-constant

Gulp plugin for dynamic generation of angular constant modules.
MIT License
109 stars 26 forks source link

Please upload newest build to npm - Parsing .yml files #18

Closed slnowak closed 8 years ago

slnowak commented 9 years ago

Hi,

I'm trying to parse config saved in .yml file. But unfortunately, I'm still getting errors like 'SyntaxError: Unexpected token a'

Here's the code causing this: var data = file.isNull() ? {} : JSON.parse(file.contents); (index.js, line 47)

After a quick research, I found out that the following commit should fix it: https://github.com/guzart/gulp-ng-constant/commit/adca6bdb830b519918175d3c3dfb34fe356a4185

So it turns out there's obsolete version on the npm. Could you please upload newest build?

guzart commented 9 years ago

Released version 1.0.0, please try it out, let me know if it helps.. tho... am almost sure you probably already solve this. Sorry for the long delay.

guzart commented 8 years ago

Feel free to reopen the issue if you have problems with YAML config.