Skip to content

Commit

Permalink
fix(v2): add @babel/preset-typescript to babel-loader (#2310)
Browse files Browse the repository at this point in the history
  • Loading branch information
deniaz committed Feb 23, 2020
1 parent b25eb5d commit e54ede5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus/src/webpack/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e54ede5

Please sign in to comment.