mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 13:17:23 +02:00
* Upgrade babel 7 Use custom transform for jest to handle docs test since there is path change in there * change all version of babel dependency * - add silent to yarn build - add babel/types to expose method used in translate-plugin
11 lines
232 B
JavaScript
11 lines
232 B
JavaScript
module.exports = {
|
|
env: {
|
|
test: {
|
|
presets: ['@babel/env', '@babel/react'],
|
|
plugins: [
|
|
'@babel/plugin-proposal-class-properties',
|
|
'@babel/plugin-proposal-object-rest-spread',
|
|
],
|
|
},
|
|
},
|
|
};
|