lib/esbuild/transform_result.rb
# If the files are too big, esbuild will create a tempfile to pass back the result
# We need to delete it
If the files are too big, esbuild will create a tempfile to pass back the result
We need to delete it
If the files are too big esbuild will create a tempfile to pass back the result We need to delete it
def read_file(fs, name)
      if fs
        contents = File.read(name)
        File.delete(name)
        contents
      else
        name
      end
    end
def read_file ( fs , name ) if fs contents = File . read ( name ) File . delete ( name ) contents else name end end
If the files are too big, esbuild will create a tempfile to pass back the result
We need to delete it
If the files are too big esbuild will create a tempfile to pass back the result We need to delete it
fs
name