frontend-web/vue.config.js
2022-05-01 13:42:55 +02:00

22 lines
481 B
JavaScript

const path = require('path')
module.exports = {
transpileDependencies: [
'vue-meta',
],
configureWebpack: {
module: {
rules: [
{
test: /\.(json5?|ya?ml)$/, // target json, json5, yaml and yml files
type: 'javascript/auto',
loader: '@intlify/vue-i18n-loader',
include: [ // Use `Rule.include` to specify the files of locale messages to be pre-compiled
path.resolve(__dirname, 'src/locales')
]
},
]
}
},
}