Skip to content

Commit

Permalink
fix(build): add support for remix.run bundler (#9327)
Browse files Browse the repository at this point in the history
We were accidentaly bundling xml-but-prettier
library which resulted in failed remix.run builds.
  • Loading branch information
char0n committed Oct 20, 2023
1 parent cd7e2f7 commit c7d6214
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions webpack/es-bundle-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ const result = configBuilder(
"deep-extend", // uses Buffer as global symbol
"randombytes", // uses require('safe-buffer')
"sha.js", // uses require('safe-buffer')
/xml/, // uses require('stream')
/process\/browser/, // is injected via ProvidePlugin
/readable-stream/, // byproduct of buffer ProvidePlugin injection
"xml", // uses require('stream')
"process/browser", // is injected via ProvidePlugin
/^readable-stream/, // byproduct of buffer ProvidePlugin injection
"util-deprecate", // dependency of readable-stream
"inherits", // dependency of readable-stream
"events", // dependency of readable-stream
/safe-buffer/, // contained in resolve.alias
/string_decoder/, // byproduct of buffer ProvidePlugin injection
"safe-buffer", // contained in resolve.alias
"string_decoder/", // byproduct of buffer ProvidePlugin injection
"buffer", // buffer is injected via ProvidePlugin
],
importType: (moduleName) => {
Expand Down

0 comments on commit c7d6214

Please sign in to comment.