Permalink
Browse files

Remove worker from local-cli

Reviewed By: davidaurelio

Differential Revision: D5208910

fbshipit-source-id: 245436276185fff1a516a00d4c631e885f463e53
  • Loading branch information...
cpojer authored and facebook-github-bot committed Jun 8, 2017
1 parent 4a7ebdf commit cbb8d6f6281fc5100ba45fd164103048e927bc59
Showing with 2 additions and 15 deletions.
  1. +2 −2 local-cli/util/Config.js
  2. +0 −13 local-cli/util/worker.js
View
@@ -81,7 +81,7 @@ export type ConfigT = {
/**
* Returns the path to the worker that is used for transformation.
*/
getWorkerPath: () => string,
getWorkerPath: () => ?string,
/**
* An optional function that can modify the code and source map of bundle
@@ -135,7 +135,7 @@ const Config = {
postProcessModules: modules => modules,
postProcessModulesForBuck: modules => modules,
transformVariants: () => ({default: {}}),
getWorkerPath: () => require.resolve('./worker.js'),
getWorkerPath: () => null,
}: ConfigT),
find(startDir: string): ConfigT {
View

This file was deleted.

Oops, something went wrong.

0 comments on commit cbb8d6f

Please sign in to comment.