mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
chore(NA): remove usage of re2 and replace it with a non native module (#188134)
This PR removes the usage of the native module version of `re2` and replaces it with a js port called `re2js`. It also ends our usage of native node modules in production and it removes the task from the build as well. Further steps will be taken along our strategy to avoid future usages of native node modules in prod environments.
This commit is contained in:
parent
b3dcc542fa
commit
3c338a82c2
12 changed files with 26 additions and 391 deletions
|
@ -149,10 +149,6 @@ export async function installYarnDeps(log, opts = undefined) {
|
|||
await runBazel(log, ['run', '@nodejs//:yarn'], {
|
||||
offline: opts?.offline,
|
||||
quiet: opts?.quiet,
|
||||
env: {
|
||||
RE2_DOWNLOAD_MIRROR:
|
||||
'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2',
|
||||
},
|
||||
});
|
||||
|
||||
log.success('yarn deps installed');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue