docs(typescript): add link for writing config file in typescript#7819
docs(typescript): add link for writing config file in typescript#7819alexander-akait merged 4 commits intowebpack:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@alexander-akait please review. |
alexander-akait
left a comment
There was a problem hiding this comment.
Let's better add the example using typescript instead js and also provide link like you done
|
sure |
| First, install the required dependencies: | ||
|
|
||
| ```bash | ||
| npm install --save-dev typescript ts-node @types/node |
There was a problem hiding this comment.
Let's remove typescript from list, because we already installed it above typescript
|
@alexander-akait done removing |
| **webpack.config.ts** | ||
|
|
||
| ```ts | ||
| import path from "path"; |
alexander-akait
left a comment
There was a problem hiding this comment.
Remove JS version, we don't need it, only Typescript
|
@alexander-akait done |
|
@alexander-akait thanks for guiding me. should i raise PR for this?
|
Fixes: #6106
Refrence: #6105
Summary
This PR adds a link inside
typescript guidedoc to clarify config can be written in a typescript file.What kind of change does this PR introduce?
docs
Did you add tests for your changes?
no
Does this PR introduce a breaking change?
no
If relevant, what needs to be documented once your changes are merged or what have you already documented?