Skip to content

Commit

Permalink
Merge pull request #651 from aws-samples/feature/release-0-21-1
Browse files Browse the repository at this point in the history
Fix webpack issue with 'vm'
  • Loading branch information
atjohns authored Mar 28, 2024
2 parents 69f02b0 + 5cd465e commit cfb30d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"process": "^0.11.10",
"regenerator-runtime": "^0.13.5",
"stream-browserify": "^3.0.0",
"util": "^0.12.5"
"util": "^0.12.5",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.23.5",
Expand Down Expand Up @@ -73,4 +74,4 @@
"browserslist": [
"defaults and fully supports es6-module"
]
}
}
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = (env) => {
buffer: require.resolve('buffer/'),
stream: require.resolve('stream-browserify'),
'process/browser': require.resolve('process/browser'),
"vm": require.resolve("vm-browserify"),
},
},
module: {
Expand Down

0 comments on commit cfb30d5

Please sign in to comment.