Enable delta bundler on metro-bundler behind a cli argument
Reviewed By: mjesun Differential Revision: D5761110 fbshipit-source-id: 83127f63679caffbc4f335f52f6f5eda398e8c05
This commit is contained in:
parent
83bb8022e1
commit
eb6ba0b041
|
@ -106,6 +106,7 @@ function buildBundle(
|
|||
sourceExts: defaultSourceExts.concat(sourceExts),
|
||||
transformCache: TransformCaching.useTempDir(),
|
||||
transformModulePath: transformModulePath,
|
||||
useDeltaBundler: false,
|
||||
watch: false,
|
||||
workerPath: config.getWorkerPath && config.getWorkerPath(),
|
||||
};
|
||||
|
|
|
@ -171,6 +171,7 @@ function getPackagerServer(args, config) {
|
|||
sourceExts: defaultSourceExts.concat(args.sourceExts),
|
||||
transformModulePath: transformModulePath,
|
||||
transformCache: TransformCaching.useTempDir(),
|
||||
useDeltaBundler: false,
|
||||
verbose: args.verbose,
|
||||
watch: !args.nonPersistent,
|
||||
workerPath: config.getWorkerPath(),
|
||||
|
|
Loading…
Reference in New Issue