aristanetworks / cloudvision

Resources and documentation for Arista's CloudVision platform
21 stars 13 forks source link

fix(rollup): add process.env to rollup #944

Open wheelere opened 1 year ago

wheelere commented 1 year ago

Packages using a-msgpack that don't define process.env encounter an error because utf8.ts uses process.env.TEXT_ENCODING to determine the usage of the TextEncoding API. Add this process.env in the rollup config.