mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Revert "fix(NA): creation of multiple processes on production by splitting no_transpilation when setting up node env (#114940)"
This reverts commit 5fcc118913
.
This commit is contained in:
parent
712fac6042
commit
47ce4a80a6
4 changed files with 11 additions and 20 deletions
|
@ -6,7 +6,6 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
const Fs = require('fs');
|
||||
const Path = require('path');
|
||||
|
||||
const { REPO_ROOT } = require('@kbn/dev-utils');
|
||||
|
@ -23,7 +22,7 @@ require('@babel/register')({
|
|||
// TODO: should should probably remove this link back to the source
|
||||
Path.resolve(REPO_ROOT, 'x-pack/plugins/task_manager/server/config.ts'),
|
||||
Path.resolve(REPO_ROOT, 'src/core/utils/default_app_categories.ts'),
|
||||
].map((path) => Fs.realpathSync(path)),
|
||||
],
|
||||
babelrc: false,
|
||||
presets: [require.resolve('@kbn/babel-preset/node_preset')],
|
||||
extensions: ['.js', '.ts', '.tsx'],
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
require('./no_transpilation_dist');
|
||||
require('./no_transpilation');
|
||||
require('./polyfill');
|
||||
|
|
|
@ -7,4 +7,12 @@
|
|||
*/
|
||||
|
||||
require('./ensure_node_preserve_symlinks');
|
||||
require('./no_transpilation_dist');
|
||||
|
||||
// The following require statements MUST be executed before any others - BEGIN
|
||||
require('./exit_on_warning');
|
||||
require('./harden');
|
||||
// The following require statements MUST be executed before any others - END
|
||||
|
||||
require('symbol-observable');
|
||||
require('source-map-support/register');
|
||||
require('./node_version_validator');
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
// The following require statements MUST be executed before any others - BEGIN
|
||||
require('./exit_on_warning');
|
||||
require('./harden');
|
||||
// The following require statements MUST be executed before any others - END
|
||||
|
||||
require('symbol-observable');
|
||||
require('source-map-support/register');
|
||||
require('./node_version_validator');
|
Loading…
Add table
Add a link
Reference in a new issue