mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Updates from Sun Feb 15
- [react-packager][streamline oss] Injectable transformer | Amjad Masad
This commit is contained in:
@@ -84,10 +84,7 @@ function getAppMiddleware(options) {
|
||||
projectRoots: options.projectRoots,
|
||||
blacklistRE: blacklist(false),
|
||||
cacheVersion: '2',
|
||||
polyfillModuleNames: [
|
||||
path.resolve(__dirname, 'polyfill/console.js'),
|
||||
path.resolve(__dirname, 'polyfill/error-guard.js'),
|
||||
]
|
||||
transformModulePath: require.resolve('./transformer.js'),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user