Closed kuba-kubula closed 7 years ago
Hi Daniel,
eidolon now requires whole faker, which results into much larger builds than are needed. Especially since all locales provided by faker are embedded into the final build.
eidolon
faker
I'd suggest using approach described in https://github.com/json-schema-faker/json-schema-faker/issues/56
E.g. instead of faker = require('faker') use faker = require('faker/locale/en')
faker = require('faker')
faker = require('faker/locale/en')
Smaller builds of standalone build-packs. Also a significantly faster webpack build in tools/apps using eidolon (e.g. Apiary with Attributes-Kit)
webpack
Hi Daniel,
eidolon
now requires wholefaker
, which results into much larger builds than are needed. Especially since all locales provided byfaker
are embedded into the final build.I'd suggest using approach described in https://github.com/json-schema-faker/json-schema-faker/issues/56
E.g. instead of
faker = require('faker')
usefaker = require('faker/locale/en')
Smaller builds of standalone build-packs. Also a significantly faster
webpack
build in tools/apps usingeidolon
(e.g. Apiary with Attributes-Kit)