Skip to content

Commit

Permalink
sync: master to develop
Browse files Browse the repository at this point in the history
sync: master to develop
  • Loading branch information
ovh-ux-cds authored Dec 18, 2024
2 parents 0ecb19c + ca6192e commit 7a7c687
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/manager/apps/account/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ module.exports = (env = {}) => {
path.resolve(__dirname, '../../../node_modules'),
],
mainFields: ['module', 'browser', 'main'],
fallback: {
buffer: require.resolve('buffer/'),
},
},
plugins: [
new webpack.ContextReplacementPlugin(
Expand All @@ -96,6 +99,9 @@ module.exports = (env = {}) => {
: '"development"',
__NG_APP_INJECTIONS__: getNgAppInjections(['EU', 'CA', 'US']),
}),
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
],
});
};

0 comments on commit 7a7c687

Please sign in to comment.