[react-packager] Add jpe?g to asset extensions

This commit is contained in:
Amjad Masad 2015-04-21 10:58:20 -07:00
parent 2645ffb69a
commit 749c81842c
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ function getAppMiddleware(options) {
cacheVersion: '2',
transformModulePath: require.resolve('./transformer.js'),
assetRoots: options.assetRoots,
assetExts: ['png', 'jpeg', 'jpg']
});
}