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
Hello there, I want to upate to @rollup/plugin-typescript from rollup-plugin-typescript, but found it only compile main.ts but not the lunchtime.ts, millisecondsUntil.ts (as in this repo) in the cjs format.
I have look through https://rollupjs.org/guide but do not found anything to solve this.
So, I want to know if there is any special configuaration about this problem?
The text was updated successfully, but these errors were encountered:
I think the issue seems to be related to how @rollup/plugin-typescript handles commonjs.
If you switch the module option inside tsconfig.json to either es2015 or ESNext the problem disappears since typescript will inline the code instead of producing require statements.
If someone can reproduce this, I think an issue should be opened at @rollup/plugin-typescript.
Hello there, I want to upate to @rollup/plugin-typescript from rollup-plugin-typescript, but found it only compile
main.ts
but not thelunchtime.ts
,millisecondsUntil.ts
(as in this repo) in thecjs
format.I have look through
https://rollupjs.org/guide
but do not found anything to solve this.So, I want to know if there is any special configuaration about this problem?
The text was updated successfully, but these errors were encountered: