buddhike / gulp-jspm-build

Gulp plugin for jspm.
22 stars 9 forks source link

Generated config.js file is not stable #16

Closed mikeyoon closed 8 years ago

mikeyoon commented 8 years ago

I noticed that when the resulting config.js file is created, the order of the keys and arrays are unstable due to the usage of JSON.stringify. This can be a real problem in production usage if assets are hashed. I can make a PR to switch to use https://github.com/substack/json-stable-stringify if you'd like.

buddhike commented 8 years ago

Sure PR would be nice ;-) Thanks!

grofzero commented 8 years ago

@buddhike Thank you very much:)

grofzero commented 8 years ago

@buddhike Could you publish the new version to npm? Thank you

buddhike commented 8 years ago

@grofzero Done :-). Sorry about the lag.

grofzero commented 8 years ago

@buddhike Not a problem, and thanks again:)