Use packaged versions of @babel/*
This commit is contained in:
parent
5f6094489d
commit
b07acac134
1 changed files with 19 additions and 0 deletions
19
debian/patches/0740-use-packaged-modules.patch
vendored
19
debian/patches/0740-use-packaged-modules.patch
vendored
|
@ -108,6 +108,25 @@ Use debian packaged node modules when available
|
||||||
};
|
};
|
||||||
--- a/package.json
|
--- a/package.json
|
||||||
+++ b/package.json
|
+++ b/package.json
|
||||||
|
@@ -48,12 +48,12 @@
|
||||||
|
"webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
- "@babel/core": "^7.10.1",
|
||||||
|
- "@babel/plugin-proposal-class-properties": "^7.10.1",
|
||||||
|
- "@babel/plugin-proposal-json-strings": "^7.10.1",
|
||||||
|
- "@babel/plugin-proposal-private-methods": "^7.10.1",
|
||||||
|
- "@babel/plugin-syntax-import-meta": "^7.10.1",
|
||||||
|
- "@babel/preset-env": "^7.10.1",
|
||||||
|
+ "@babel/core": "link:/usr/share/nodejs/@babel/core",
|
||||||
|
+ "@babel/plugin-proposal-class-properties": "link:/usr/share/nodejs/@babel/plugin-proposal-class-properties",
|
||||||
|
+ "@babel/plugin-proposal-json-strings": "link:/usr/share/nodejs/@babel/plugin-proposal-json-strings",
|
||||||
|
+ "@babel/plugin-proposal-private-methods": "link:/usr/share/nodejs/@babel/plugin-proposal-private-methods",
|
||||||
|
+ "@babel/plugin-syntax-import-meta": "link:/usr/share/nodejs/@babel/plugin-syntax-import-meta",
|
||||||
|
+ "@babel/preset-env": "link:/usr/share/nodejs/@babel/preset-env",
|
||||||
|
"@gitlab/at.js": "1.5.7",
|
||||||
|
"@gitlab/favicon-overlay": "2.0.0",
|
||||||
|
"@gitlab/svgs": "1.185.0",
|
||||||
@@ -76,7 +76,7 @@
|
@@ -76,7 +76,7 @@
|
||||||
"aws-sdk": "^2.637.0",
|
"aws-sdk": "^2.637.0",
|
||||||
"axios": "^0.20.0",
|
"axios": "^0.20.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue