3 ms·
babel-register is not recommended for production use. https://phabricator.babeljs.io/T6940 https://phabricator.babeljs.io/T6940 That being said I've used in p
by dham 11y ago
babel-register is not recommended for production use.
https://phabricator.babeljs.io/T6940 https://phabricator.babeljs.io/T6940
That being said I've used in production for quite a while, but the memory foot print is a lot higher. I'd recommend compiling to a separate file for production.
I recently put in the pull request to suggest not using register in production just as babel-node is not recommended.