2021-01-15 23:24:15 +11:00
|
|
|
const Dotenv = require('dotenv-webpack');
|
|
|
|
module.exports = {
|
2021-01-16 17:06:35 +11:00
|
|
|
devServer: {
|
2021-01-21 19:02:20 +11:00
|
|
|
proxy: 'http://localhost:23982'
|
2021-01-16 17:06:35 +11:00
|
|
|
},
|
|
|
|
|
|
|
|
publicPath: '/',
|
2021-01-15 23:24:15 +11:00
|
|
|
productionSourceMap: false,
|
2021-01-16 17:06:35 +11:00
|
|
|
|
2021-01-15 23:24:15 +11:00
|
|
|
configureWebpack: {
|
|
|
|
plugins: [
|
|
|
|
new Dotenv()
|
|
|
|
]
|
2021-01-16 17:06:35 +11:00
|
|
|
},
|
|
|
|
|
|
|
|
pluginOptions: {
|
|
|
|
i18n: {
|
|
|
|
locale: 'en',
|
|
|
|
fallbackLocale: 'debug',
|
|
|
|
localeDir: 'locales',
|
|
|
|
enableInSFC: false
|
|
|
|
}
|
2021-01-15 23:24:15 +11:00
|
|
|
}
|
|
|
|
}
|