fluent-vue / unplugin-fluent-vue

unplugin for fluent-vue. Adds support for custom blocks in Vue SFC and external ftl files.
https://fluent-vue.demivan.me/integrations/unplugin.html
MIT License
6 stars 1 forks source link

Sourcemap support #102

Closed Tnze closed 1 week ago

Tnze commented 1 week ago

Clear and concise description of the problem

Currently, when enable the sourcemap generation, there are warnings during build the project.

[plugin unplugin-fluent-vue-sfc] Sourcemap is likely to be incorrect: a plugin (unplugin-fluent-vue-sfc) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Suggested solution

Add some support?

Alternative

No response

Additional context

No response

Validations

Demivan commented 1 week ago

unplugin-fluent-vue should already generate source maps. Can you add a reproduction for it? Right now I don't even know what build system you are using. Or even better close this issue and open a new one using the "Bug report" template instead of the "Feature request".

Demivan commented 1 week ago

Is it in https://github.com/Tnze/ffxiv-best-craft repo?

Demivan commented 1 week ago

I could reproduce it. Will fix.

Demivan commented 1 week ago

@Tnze, please try out pnpm add https://pkg.pr.new/fluent-vue/unplugin-fluent-vue@103

If everything it ok, I will publish it.

Tnze commented 1 week ago

Hi, I can confirm the new version is fine. Thanks for the bugfix.

Demivan commented 1 week ago

Version 1.3.2 released