Closed zamnuts closed 7 years ago
Hi!Thanks for helping and improving this module, this should be fixed in the 2.0.1 build that i just did. Im sorry i was swap tslib from dependencies to devdependencies
I leave open, tell me if it is fixed, i dont know why was not showing in test reports, i tested in node 4...
Tested with 2.0.2: tslib is now a dependency of mocker-data-generator
and the fix is working. Thanks!
When using
mock-data-generator@2.0.0
in Node.js (v4) with CommonJS paradigm:The following error occurs:
Installing
tslib
as a dependency of my project fixes this issue:In a production installation of
mocker-data-generator
,tslib
is not installed, but is required in the built ES5 script.