mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 02:31:05 +08:00
Merge pull request #8698 from storybookjs/fix/rn-use-babel-metro-preset
CHANGE the compilation target for RN - it was compiled for old browsers
This commit is contained in:
commit
a0a113071d
@ -72,6 +72,11 @@ module.exports = {
|
||||
test: withTests,
|
||||
},
|
||||
},
|
||||
{
|
||||
test: './app/react-native',
|
||||
presets: ['module:metro-react-native-babel-preset'],
|
||||
plugins: ['babel-plugin-macros', ['emotion', { sourceMap: true, autoLabel: true }]],
|
||||
},
|
||||
{
|
||||
test: [
|
||||
'./lib/node-logger',
|
||||
|
Loading…
x
Reference in New Issue
Block a user