From 68fcfc30501661bd00c0a0ecd6309da739cd8d16 Mon Sep 17 00:00:00 2001 From: Amjad Masad Date: Fri, 27 Feb 2015 10:23:54 -0800 Subject: [PATCH] [react-packager] transformModulePath option is not actually required --- packager/react-packager/src/JSTransformer/index.js | 2 +- packager/react-packager/src/Packager/index.js | 2 +- packager/react-packager/src/Server/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packager/react-packager/src/JSTransformer/index.js b/packager/react-packager/src/JSTransformer/index.js index 4f98d588c..e3e713eef 100644 --- a/packager/react-packager/src/JSTransformer/index.js +++ b/packager/react-packager/src/JSTransformer/index.js @@ -40,7 +40,7 @@ var validateOpts = declareOpts({ }, transformModulePath: { type:'string', - required: true, + required: false, }, nonPersistent: { type: 'boolean', diff --git a/packager/react-packager/src/Packager/index.js b/packager/react-packager/src/Packager/index.js index ddcab6ee6..42295acc8 100644 --- a/packager/react-packager/src/Packager/index.js +++ b/packager/react-packager/src/Packager/index.js @@ -42,7 +42,7 @@ var validateOpts = declareOpts({ }, transformModulePath: { type:'string', - required: true, + required: false, }, nonPersistent: { type: 'boolean', diff --git a/packager/react-packager/src/Server/index.js b/packager/react-packager/src/Server/index.js index 1f5b7ff18..14b18c965 100644 --- a/packager/react-packager/src/Server/index.js +++ b/packager/react-packager/src/Server/index.js @@ -40,7 +40,7 @@ var validateOpts = declareOpts({ }, transformModulePath: { type:'string', - required: true, + required: false, }, nonPersistent: { type: 'boolean',