I want to use prepack
on my NPM package, but i getting errors like require is not defined
, and module is not defined
.
I tried to define this variables like:
__assumeDataProperty(global, 'require', __abstract('function'))
but i getting error unknown reference type
How can i can correctly define Node.js
global functions and properties for prepack
?
via Качалов Тимофей
No comments:
Post a Comment