Initial commit
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
module.exports = {
|
||||
presets: ['module:@react-native/babel-preset'],
|
||||
presets: [
|
||||
'module:@react-native/babel-preset',
|
||||
],
|
||||
plugins: [
|
||||
[
|
||||
'module-resolver',
|
||||
{
|
||||
root: ['./'],
|
||||
alias: {
|
||||
'@': './'
|
||||
},
|
||||
},
|
||||
],
|
||||
['import', { libraryName: '@ant-design/react-native' }], // 与 Web 平台的区别是不需要设置 style
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user