/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 */

export default function () {
  // eslint-disable-next-line import/no-unresolved
  return require('../defaultPlugins');
}

/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 */

export default function () {
  // eslint-disable-next-line import/no-unresolved
  const index = require('../defaultPlugins');
  return index.default || index;
}

Fix loading plugins in dev mode
Fix loading plugins in dev mode

Summary: Fixed loading plugins in dev mode

Reviewed By: timur-valiev

Differential Revision: D21262894

fbshipit-source-id: c4ab6902d3153c3580c71f27df91290122627fae
