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 · 0 comments
Open

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

gimler opened this issue Oct 26, 2023 · 0 comments

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())
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

1 participant