Add patch to include babel plugins

This commit is contained in:
Mohammed Bilal 2022-09-06 18:59:50 +05:30
parent 16fc54e109
commit e0b2c50a43
No known key found for this signature in database
GPG key ID: B3F5945285219E1F
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
--- a/package.json
+++ b/package.json
@@ -48,6 +48,10 @@
"@_ueberdosis/prosemirror-tables": "^1.1.3",
"@apollo/client": "^3.5.10",
"@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",
"@codesandbox/sandpack-client": "^1.2.2",
"@gitlab/at.js": "1.5.7",

View file

@ -15,6 +15,7 @@ nodejs/0010-set-webpack-root.patch
nodejs/0020-remove-dev-dependencies.patch
nodejs/0030-use-yarnpkg.patch
nodejs/0040-use-packaged-modules.patch
nodejs/0050-add-babel-plugins.patch
tweaks/0010-source-init-functions.patch
tweaks/0020-fix-mail-room-path.patch
tweaks/0030-fix-gitlab-yml-path.patch