Please tell me how to use rollup.js to convert ts to es3.

after rollup-plugin-typescript is transferred, es6, does not want to use tsc,. May I ask how to configure rollup

Apr.03,2021

this belongs to the output file style mode problem, not the rollup-plugin-typescript problem.
this plug-in simply translates ts code into js code.
it is recommended to set the format parameter in output in the configuration list to umd. As for es3, you can configure various plug-ins such as babel's configuration transcoding setting.
if you have any questions, you are welcome to discuss them again.

Menu