Skip to content

Commit

Permalink
Merge pull request #489 from nextcloud-libraries/fix/polyfill-node-Bu…
Browse files Browse the repository at this point in the history
…ffer-by-default
  • Loading branch information
skjnldsv authored Aug 15, 2023
2 parents 187898f + 145da2c commit 290ffa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = {
'Access-Control-Allow-Origin': '*',
},
},

optimization: {
chunkIds: 'named',
splitChunks: {
Expand Down Expand Up @@ -107,8 +107,8 @@ 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({
// These modules available in the web-browser
excludeAliases: ['console', 'Buffer'],
// Console is available in the web-browser
excludeAliases: ['console'],
}),

// Make appName & appVersion available as a constant
Expand Down

0 comments on commit 290ffa4

Please sign in to comment.