Skip to content

Commit

Permalink
add vm-browserify polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbocarsly committed Nov 6, 2024
1 parent febfad7 commit d361727
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"serve": "^14.2.1",
"stream-browserify": "^3.0.0",
"tinymce": "^5.10.9",
"vm-browserify": "^1.1.2",
"vue": "^3.2.4",
"vue-qrcode-reader": "^5.5.7",
"vue-router": "^4.0.0-0",
Expand Down
1 change: 1 addition & 0 deletions webapp/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
stream: require.resolve("stream-browserify"),
process: require.resolve("process/browser"),
buffer: require.resolve("buffer/"),
vm: require.resolve("vm-browserify"),
};
config.externals = {
...config.externals,
Expand Down
5 changes: 5 additions & 0 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8736,6 +8736,11 @@ [email protected]:
core-util-is "1.0.2"
extsprintf "^1.2.0"

vm-browserify@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==

vue-component-type-helpers@^2.0.0:
version "2.1.8"
resolved "https://registry.yarnpkg.com/vue-component-type-helpers/-/vue-component-type-helpers-2.1.8.tgz#2ecfa1970f56088da0c9d37640d6625b4b9bab5e"
Expand Down

0 comments on commit d361727

Please sign in to comment.