mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 12:45:37 +08:00
[react-packager] Add jpe?g to asset extensions
This commit is contained in:
@@ -200,6 +200,7 @@ function getAppMiddleware(options) {
|
||||
cacheVersion: '2',
|
||||
transformModulePath: require.resolve('./transformer.js'),
|
||||
assetRoots: options.assetRoots,
|
||||
assetExts: ['png', 'jpeg', 'jpg']
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user