tachibana-shin / vite-plugin-arraybuffer

Vite plugin for import file with ArrayBuffer or Uint8Array!
https://www.npmjs.com/package/vite-plugin-arraybuffer
12 stars 1 forks source link

Sourcemap support #8

Closed leo91000 closed 4 months ago

leo91000 commented 4 months ago

Is your feature request related to a problem? Please describe. When bundling with sourcemaps, we get this warning : [plugin vite-plugin-arraybuffer] Sourcemap is likely to be incorrect: a plugin (vite-plugin-arraybuffer) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Describe the solution you'd like I would like for this warning to go away, it creates a lot of noise, specially if we have a lot of chunks. As we don't need fancy sourcemaps, this is a possible solution : https://github.com/vanilla-extract-css/vanilla-extract/issues/699#issuecomment-1141765515

Describe alternatives you've considered I don't see any workaround

Additional context I am willing to create a pull request if we agree on what need to be done

codeautopilot[bot] commented 4 months ago

Your organization has reached the subscribed usage limit. You can upgrade your account by purchasing a subscription at Stripe payment link

tachibana-shin commented 4 months ago

Fixed on version 0.0.7 thanks for support!

leo91000 commented 4 months ago

Thank you !