-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
docs (typescript): add guide for webpack config TS #6105
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
Conversation
CLA Signed
The committers listed above are authorized under a signed CLA.
- ✅ login: deerawan / name: Budi Irawan (1abf384)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
1abf384
to
2f14e44
Compare
src/content/guides/typescript.mdx
Outdated
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 install @types/webpack
, webpack v5 has built-in types
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.
That's right! I'll remove this part. I was putting it here because I ran this guide with webpack4, but I guess this always targets the latest version which is webpack5. 👍
Add a guide on how to use webpack configuration in Typescript `webpack.config.ts`. Fixes webpack#6106
2f14e44
to
64a08fa
Compare
Actually we did have a guide here https://webpack.js.org/configuration/configuration-languages/#typescript, so maybe we can just add a link to that in this page?
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.
probably can have a link somewhere to link to https://webpack.js.org/configuration/configuration-languages/#typescript
which explains on using typescript for configuring webpack
Uh oh!
There was an error while loading. Please reload this page.
Add a guide on how to use webpack configuration in Typescript
webpack.config.ts
.Fixes #6106