symfony / webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack
https://symfony.com/doc/current/frontend.html
MIT License
2.23k stars 198 forks source link

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

Open gimler opened 1 year ago

gimler commented 1 year ago

@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 commented 4 weeks ago

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