Skip to content

Commit

Permalink
Merge pull request #613 from nextcloud-libraries/fix/process-alias
Browse files Browse the repository at this point in the history
fix: include `process` Node polyfill
  • Loading branch information
ShGKme authored Sep 23, 2024
2 parents 5f4e4ef + ef55f8d commit e1be26e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ module.exports = {

// Make sure we auto-inject node polyfills on demand
// https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-nodejs-polyfills-removed
new NodePolyfillPlugin(),
new NodePolyfillPlugin({
additionalAliases: ['process'],
}),

// Make appName & appVersion available as a constant
new webpack.DefinePlugin({ appName: JSON.stringify(appName) }),
Expand Down

0 comments on commit e1be26e

Please sign in to comment.