react-hot-ts icon indicating copy to clipboard operation
react-hot-ts copied to clipboard

Compatible with typescript webpack without additional configuration

Open MrRefactoring opened this issue 3 years ago • 2 comments

Webpack currently supports the creation of webpack.config.ts. But to import react-hot-ts/lib/transform need to add a esModuleInterop flag to tsconfig.json.

It would be nice to be able to not use this flag. For example make the export function rhTransform instead of export = rhTransform

MrRefactoring avatar Jul 28 '21 10:07 MrRefactoring

I can create possible solution

MrRefactoring avatar Jul 28 '21 10:07 MrRefactoring

Sounds good!

elsassph avatar Jul 28 '21 11:07 elsassph