-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate project source to TypeScript #346
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
6decbd5
to
a17d681
Compare
8f09785
to
b3c8d00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { terser } from "rollup-plugin-terser"; | ||
import filesize from "rollup-plugin-filesize"; | ||
import { visualizer } from "rollup-plugin-visualizer"; | ||
import typescript from "@rollup/plugin-typescript"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to change this now, but in the future we might look into swapping rollup out for Vite (which uses rollup under the hood), just because the plugin/config is a bit less verbose. Maybe something for "future us".
LOL okay, makes total sense. I wasn't paying close enough attention. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
@gksander Actually you helped me uncover a bug, it wasn't passing the correct value for noInline in the story—it just looked correct because of default params and how it saves transient stage in local storage. Thank you for calling that out. Pushed a fix for that. |
How to verify:
yarn build