Skip to content

Commit

Permalink
Merge pull request #5202 from Tyriar/ligatures_resolve
Browse files Browse the repository at this point in the history
Only resolve ligatures externals in commonjs environment
  • Loading branch information
Tyriar authored Nov 1, 2024
2 parents f701d07 + 952ac61 commit aca9c89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/addon-ligatures/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ module.exports = {
},
mode: 'production',
externals: {
'fs': 'fs',
'path': 'path',
'stream': 'stream',
'util': 'util'
'fs': 'commonjs fs',
'path': 'commonjs path',
'stream': 'commonjs stream',
'util': 'commonjs util'
},
resolve: {
// The ligature modules contains fallbacks for node environments, we never want to browserify them
Expand Down

0 comments on commit aca9c89

Please sign in to comment.