Skip to content

Commit a0b8f74

Browse files
authored
[chore-6439]: Run update minor (#3111)
* Run update minor * Update rimraf * Update keycloak to 21 * Update keycloak to 22 * Update keycloak to 23 * Update keycloak to 24 * Update keycloak to 25
1 parent 58afdf2 commit a0b8f74

File tree

4 files changed

+1658
-744
lines changed

4 files changed

+1658
-744
lines changed

internals/webpack/webpack.base.babel.js

+10
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ const baseConfig = /** @type { import('webpack').Configuration } */ {
128128
},
129129
},
130130
}),
131+
132+
new webpack.ProvidePlugin({
133+
process: 'process/browser',
134+
}),
131135
].filter(Boolean),
132136

133137
resolve: {
@@ -137,6 +141,12 @@ const baseConfig = /** @type { import('webpack').Configuration } */ {
137141
alias: {
138142
types: path.resolve(__rootdir, 'src/types/'),
139143
},
144+
fallback: {
145+
crypto: require.resolve('crypto-browserify'),
146+
stream: require.resolve('stream-browserify'),
147+
vm: require.resolve('vm-browserify'),
148+
process: require.resolve('process/browser'),
149+
},
140150
},
141151

142152
target: 'web', // Make web variables accessible to webpack, e.g. window

0 commit comments

Comments
 (0)