Is there a way to define alias ? Like webpack config:

Or just simply alias react and react-dom to inferno
I'm +1 to this, but they would probably have to be aliased to inferno-compat though. I have the same use case. Sometime I'd like to report issues to React-like alternatives such as Dio.js, Inferno.js, Preact and NervJS and it would be awesome if CodeSandbox could support alias to allow some libraries to be easily tested against the React-compatible alternative libraries.
Heya! We already have support for aliases (we use them eg. in Vue and Preact), though we don't expose them yet.
I'm releasing an update somewhere next week that allows you to set your own aliases in a 'custom' template, this would also make it easier to have Dio.js, 'Inferno.js' sandboxes etc.
Oh, that would be awesome :) Please let us know once it's out :)
alias field in package.json on the vanilla template!Great job! keep up the good work. 馃憤
Most helpful comment
Heya! We already have support for aliases (we use them eg. in Vue and Preact), though we don't expose them yet.
I'm releasing an update somewhere next week that allows you to set your own aliases in a 'custom' template, this would also make it easier to have
Dio.js, 'Inferno.js' sandboxes etc.