Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unplugin-vue-i18n destroy all my images and fonts #1236

Open
gimler opened this issue Oct 26, 2023 · 1 comment
Open

unplugin-vue-i18n destroy all my images and fonts #1236

gimler opened this issue Oct 26, 2023 · 1 comment

Comments

@gimler
Copy link
Contributor

gimler commented Oct 26, 2023

@intlify/vue-i18n-loader is deprecated and with the new one @intlify/unplugin-vue-i18n all my images and fonts are broken ;(

the deprecated works

.addRule({
    resourceQuery: /blockType=i18n/,
    type: 'javascript/auto',
    loader: '@intlify/vue-i18n-loader'
  })

with the new one all my images and fonts are broken in the build folder

const VueI18nPlugin = require('@intlify/unplugin-vue-i18n/webpack')
...
.addPlugin(VueI18nPlugin())
@carsonbot
Copy link

Thank you for this issue.
There has not been a lot of activity here for a while. Has this been resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants