Skip to content

Commit

Permalink
Fix esbuild OutputFile for ESbuild 0.19 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
powerivq committed Aug 9, 2023
1 parent c90c7dd commit 40645b7
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 187 deletions.
1 change: 1 addition & 0 deletions build-system/common/esbuild-babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ function replaceOutputFile(outputFiles, original, text) {
const file = {
path: original.path,
text,
hash: md5(text),
get contents() {
// eslint-disable-next-line local/no-forbidden-terms
const te = new TextEncoder();
Expand Down
Loading

0 comments on commit 40645b7

Please sign in to comment.