@sashko When trying to use a .babelrc to create an alias, are there any other steps needed to get Meteor to use this alias?
I tried it with inferno in the past and it never worked, and just now, am trying it unsuccessfully with nervjs, but still getting errors preventing Meteor from building:
.bablerc used as recommended
When react is uninstalled, the website gives the error: “Error: Cannot find module ‘react’”, which seems to indicate Meteor/babel isn’t using this alias.
Or if the React NPM package is left installed, the console log error says “Uncaught TypeError: Cannot call a class as a function” and “modules.js?hash=30a4ebd94a67e3ad36ff662764332b3eb7b466a4:25461 Warning: The component appears to have a render method, but doesn’t extend React.Component. This is likely to cause errors. Change MainLayout to extend React.Component instead.” (even though it does extend React.Component and works just fine with React)