Skip to content

Commit

Permalink
chore: Add @babel/preset-typescript to babel-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
deniaz committed Feb 21, 2020
1 parent d06ab64 commit 80d495d
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 80d495d

Please sign in to comment.