1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-16 13:09:31 +01:00
slate/babel.config.js
Eric Charles d338dcc7ce
Jest testing for slate-react (#4459)
* initial skeleton for jest testing

* run in serial mocha, then jest on slate-react only

* run-s without glob patterns https://github.com/yarnpkg/berry/issues/22

* don't run mocha on slate-react package

* use yarn run instead of run-s
2021-09-01 14:25:11 -07:00

10 lines
203 B
JavaScript

// Needed for jest.
module.exports = {
inputSourceMap: true,
presets: [
'@babel/preset-typescript',
['@babel/preset-env', { targets: { node: 'current' } }],
'@babel/preset-react',
],
}