mirror of https://github.com/status-im/metro.git
[react-packager] Add jpe?g to asset extensions
This commit is contained in:
parent
2645ffb69a
commit
749c81842c
|
@ -200,6 +200,7 @@ function getAppMiddleware(options) {
|
|||
cacheVersion: '2',
|
||||
transformModulePath: require.resolve('./transformer.js'),
|
||||
assetRoots: options.assetRoots,
|
||||
assetExts: ['png', 'jpeg', 'jpg']
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue