danielgtaylor / eidolon

Generate JSON or JSON Schema from Refract & MSON data structures
MIT License
6 stars 1 forks source link

Use only parts of Faker, not whole #17

Open kuba-kubula opened 6 years ago

kuba-kubula commented 6 years ago

Due to the code const faker = require('faker/locale/en); there is whole mime-db.json and many more imported and present in code, even though these parts of code can't be ever reached from eidolon per the implementation in https://github.com/danielgtaylor/eidolon/blob/master/src/example.coffee or https://github.com/danielgtaylor/eidolon/blob/master/src/default-value.coffee

I'll make the built bundles with eidolon inside many-times smaller compared to current status.