lucacasonato / esbuild_deno_loader

Deno module resolution for `esbuild`
https://deno.land/x/esbuild_deno_loader
MIT License
160 stars 43 forks source link

Document minimum deno version this works with #92

Open filmaj opened 10 months ago

filmaj commented 10 months ago

Doesn't seem like it works with 1.23.1, but does with 1.37.1. With 1.23.1, the error I see trying to use this module is:

error: Uncaught SyntaxError: Export 'DenoLoaderPluginOptions' is not defined in module
export { DEFAULT_LOADER, denoLoaderPlugin, DenoLoaderPluginOptions };
                                           ^
    at <anonymous> (https://deno.land/x/esbuild_deno_loader@0.8.2/mod.ts:23:44)

Maybe because DenoLoaderPluginOptions is imported as a type? Not sure.

filmaj commented 10 months ago

Seems like deno v1.30.0 is the earliest minor version that this module works with.