-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: perf #36
feat: perf #36
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
mangle: false, | ||
headerIds: false, | ||
}); | ||
const html = marked(project.description); |
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.
These are false
by default now.
rollupOptions: { | ||
input: ['src/entry.vercel-edge.tsx', '@qwik-city-plan'], | ||
external: ['util'], | ||
}, | ||
outDir: '.vercel/output/functions/_qwik-city.func', | ||
}, | ||
plugins: [vercelEdgeAdapter()], | ||
ssr: { | ||
noExternal: true, | ||
}, | ||
plugins: [vercelEdgeAdapter(), viteNodePolyfills()], |
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.
Vercel Functions does not have util
module. We have to polyfill it.
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.
some questions.
Unrelated, we could use https://vercel.com/storage/blob to make the image proxy even faster 👍🏻
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. If you have some performance numbers about before and after (build / init load / ...), pls attach to PR.
Fix some performance issues