vadimdemedes / ink

🌈 React for interactive command-line apps
https://term.ink
MIT License
27.13k stars 608 forks source link

Use global `process` ref in devtools condition #572

Closed fantua closed 1 year ago

fantua commented 1 year ago

Fixes #571

vadimdemedes commented 1 year ago

Node.js docs recommend importing process rather than using a global → https://nodejs.org/dist/latest-v16.x/docs/api/process.html#process_process. It's also unclear what is the benefit of removing devtools.js from your bundle, as per https://github.com/vadimdemedes/ink/issues/571.