mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-17 11:27:05 +08:00
Allow rn-cli.config.js to specify the default transformer, again
Summary: Restores feature introduced in #7961 after it's been paved partially by #7899 **Test Plan:** ran example in https://github.com/philikon/ReactNativify against a React Native with and without this patch Closes https://github.com/facebook/react-native/pull/9799 Differential Revision: D3852601 Pulled By: mkonicek fbshipit-source-id: fc3c80bdb254145fefa870eea1828b4ef33f9297
This commit is contained in:
committed by
Facebook Github Bot 0
parent
4ab455b37d
commit
111ed8d180
@@ -18,8 +18,7 @@ module.exports = [
|
||||
default: 'ios',
|
||||
}, {
|
||||
command: '--transformer [string]',
|
||||
description: 'Specify a custom transformer to be used (absolute path)',
|
||||
default: require.resolve('../../packager/transformer'),
|
||||
description: 'Specify a custom transformer to be used',
|
||||
}, {
|
||||
command: '--dev [boolean]',
|
||||
description: 'If false, warnings are disabled and the bundle is minified',
|
||||
|
||||
Reference in New Issue
Block a user