mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
0fc50d4e52
* chore: compile project to Node 8.3 using @babel/preset-env * update snapshots * compile to Node 10 * adjust snapshots back * add migration docs
17 lines
282 B
JavaScript
17 lines
282 B
JavaScript
module.exports = {
|
|
presets: [
|
|
'@babel/preset-flow',
|
|
'@babel/preset-react',
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
targets: {
|
|
node: '10',
|
|
},
|
|
bugfixes: true,
|
|
},
|
|
],
|
|
],
|
|
plugins: ['@babel/plugin-proposal-class-properties'],
|
|
};
|