mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
fix(v2): add @babel/preset-typescript to babel-loader (#2310)
This commit is contained in:
parent
b25eb5dd36
commit
e54ede5284
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ export function getBabelLoader(isServer: boolean, babelOptions?: {}): Loader {
|
|||
},
|
||||
],
|
||||
'@babel/react',
|
||||
'@babel/preset-typescript',
|
||||
],
|
||||
plugins: [
|
||||
// Polyfills the runtime needed for async/await, generators, and friends
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue