You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ts配置了ts-node,会报如下错误,应该是 在用ts-node处理esmodule格式的ts文件,但是其中会用esmodule的形式import其他js文件,会报require() of ES Module xxx from xxx not supported;想问下这种使用ts的情况,rspack有没有能兼容里边处理第三方js包的形式?
What does the proposed API of configuration look like?
像webapck一样默认支持处理
The text was updated successfully, but these errors were encountered:
chenjiahan
changed the title
[Feature]: ts情况下支持esmodule的形式import其他js文件
[Feature]: Let the ts configuration file support importing other js files in the form of esmodule
Jan 26, 2025
What problem does this feature solve?
ts配置了ts-node,会报如下错误,应该是 在用ts-node处理esmodule格式的ts文件,但是其中会用esmodule的形式import其他js文件,会报require() of ES Module xxx from xxx not supported;想问下这种使用ts的情况,rspack有没有能兼容里边处理第三方js包的形式?
What does the proposed API of configuration look like?
像webapck一样默认支持处理
The text was updated successfully, but these errors were encountered: