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
The emitted code should match the typescript compiled result of the source file
Actual Behavior
The emitted code doesn't match the source.
Additional Information
Scenario:
Initialize @rollup/plugin-typescript once.
Use the plugin in a rollup configuration.
Invoke rollup.rollup(...) on 'x.ts' and then bundle.generate to generate JS code.
Mutate `x.ts'
Invoke rollup.rollup(...) on 'x.ts' and then bundle.generate again.
Result: The same JS code will be generated after steps 3 and 5.
Expected: After step 5, the JS code should be different and match the updated x.ts.
Note: Although watchMode is false. The expectation is that invoking rollup.rollup(...) will always generate up-to-date results.
The text was updated successfully, but these errors were encountered:
gbaron
changed the title
Typescript plugin doesn't emit latest assets on rollup with watchMode is false
Typescript plugin doesn't emit latest assets on rollup when watchMode is false
Nov 24, 2022
@rollup/plugin-typescript
Expected Behavior
The emitted code should match the typescript compiled result of the source file
Actual Behavior
The emitted code doesn't match the source.
Additional Information
Scenario:
@rollup/plugin-typescript
once.rollup.rollup(...)
on 'x.ts' and thenbundle.generate
to generate JS code.rollup.rollup(...)
on 'x.ts' and thenbundle.generate
again.Result: The same JS code will be generated after steps 3 and 5.
Expected: After step 5, the JS code should be different and match the updated
x.ts
.Note: Although
watchMode
isfalse
. The expectation is that invokingrollup.rollup(...)
will always generate up-to-date results.The text was updated successfully, but these errors were encountered: