mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
fix(v2): add @babel/preset-typescript to babel-loader (#2310)
This commit is contained in:
parent
b25eb5dd36
commit
e54ede5284
|
|
@ -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…
Reference in New Issue