aiji42 / remix-esbuild-override

This is a library that makes it possible to change the configuration values of the Remix compiler (esbuild).
MIT License
89 stars 10 forks source link

`options.logOverride` is being ignore #34

Open iamskok opened 1 year ago

iamskok commented 1 year ago

Thanks for maintaining this project! I was able to able to setup theme-ui with Cloudflare pages. The only annoying thing is that I keep getting this warning:

▲ [WARNING] Top-level "this" will be replaced with undefined since this file is an ECMAScript module [this-is-undefined-in-esm]

    functions/[[path]].js:16698:15:
      16698 │             }, this),
            │                ~~~~
            ╵                undefined

After some googling I was able to find a similar issue in esbuild repo however it doesn't seem to work. I will appreciate if you can point me in the right direction. Reproduction repo.