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),
|
sourceExts: defaultSourceExts.concat(sourceExts),
|
||||||
transformCache: TransformCaching.useTempDir(),
|
transformCache: TransformCaching.useTempDir(),
|
||||||
transformModulePath: transformModulePath,
|
transformModulePath: transformModulePath,
|
||||||
|
useDeltaBundler: false,
|
||||||
watch: false,
|
watch: false,
|
||||||
workerPath: config.getWorkerPath && config.getWorkerPath(),
|
workerPath: config.getWorkerPath && config.getWorkerPath(),
|
||||||
};
|
};
|
||||||
|
|
|
@ -171,6 +171,7 @@ function getPackagerServer(args, config) {
|
||||||
sourceExts: defaultSourceExts.concat(args.sourceExts),
|
sourceExts: defaultSourceExts.concat(args.sourceExts),
|
||||||
transformModulePath: transformModulePath,
|
transformModulePath: transformModulePath,
|
||||||
transformCache: TransformCaching.useTempDir(),
|
transformCache: TransformCaching.useTempDir(),
|
||||||
|
useDeltaBundler: false,
|
||||||
verbose: args.verbose,
|
verbose: args.verbose,
|
||||||
watch: !args.nonPersistent,
|
watch: !args.nonPersistent,
|
||||||
workerPath: config.getWorkerPath(),
|
workerPath: config.getWorkerPath(),
|
||||||
|
|
Loading…
Reference in New Issue