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
Is your feature request related to a problem? Please describe.
Currently, jest preview building process use tsc to emit types directly. It might get complicated if we need to generate types for multiple entries.
Describe the solution you'd like
Generate types using rollup
Need to be fast in watch mode, so build:watch might not need to generate types (if generating types in watch mode is fast, it's OK to leave it there).
Describe how should jest-preview implements this feature
Use rollup plugin to emit types
(Optional) Do not emit types in watch mode to save time
Image
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, jest preview building process use
tsc
to emit types directly. It might get complicated if we need to generate types for multiple entries.Describe the solution you'd like
rollup
build:watch
might not need to generate types (if generating types in watch mode is fast, it's OK to leave it there).Describe how should jest-preview implements this feature
rollup
plugin to emit typesImage
The text was updated successfully, but these errors were encountered: