-
|
I would like to use some newer JavaScript features, and haven't found anything in the documentation about the build target. I have my own
I did not find the target defined anywhere, so I am guessing it uses the default |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, Docusaurus does not compile your code with tsc. It uses Babel and Webpack. Therefore you can change compilation using the browserslist config and/or the Babel config. See: https://docusaurus.io/docs/browser-support, https://docusaurus.io/docs/configuration#customizing-babel-configuration |
Beta Was this translation helpful? Give feedback.
Hi, Docusaurus does not compile your code with tsc. It uses Babel and Webpack. Therefore you can change compilation using the browserslist config and/or the Babel config. See: https://docusaurus.io/docs/browser-support, https://docusaurus.io/docs/configuration#customizing-babel-configuration