Updates from Sun Feb 15

- [react-packager][streamline oss] Injectable transformer | Amjad Masad
This commit is contained in:
Spencer Ahrens
2015-02-18 17:43:36 -08:00
parent ef842c285b
commit eeb0bf145d
5 changed files with 34 additions and 23 deletions

View File

@@ -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'),
});
}