'Setting babelrc in Sandpack parcel preset

How do I override the babelrc or at least change the babel JSX transformer preset within a Codesandbox Sandpack instance? For example say I want to use babel-preset-preact instead of the React JSX transform, how can I override it? I've attempted adding in a .babelrc in the files list but that didn't work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source