atom-nuclide
Version:
A unified developer experience for web and mobile development, built as a suite of features on top of Atom to provide hackability and the support of an active community.
35 lines (26 loc) • 1.01 kB
JavaScript
;
/* @noflow */
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the LICENSE file in
* the root directory of this source tree.
*/
/* NON-TRANSPILED FILE */
/* eslint-disable babel/func-params-comma-dangle, prefer-object-spread/prefer-object-spread */
// WARNING: This file is not the entry point in releases. The `main` in
// `package.json` is rewritten to point to `./lib/main.js` at release time.
// Keep this file in vanilla JavaScript so we can add perf measuring hooks and
// not have to worry about accounting for transpile costs or `import` hosting.
require('./internal/atom-babel-compiler-patcher');
require('./internal/preloadDependencies');
// The require profiling is really noisy during tests.
if (!atom.inSpecMode()) {
require('./internal/track-nuclide-ready').init({
byLoadOrder: false,
loadOrderMinDuration: 10,
byRoot: true,
});
}
module.exports = require('./main');