2021-01-15 23:24:15 +11:00
|
|
|
const Dotenv = require('dotenv-webpack');
|
|
|
|
module.exports = {
|
2021-01-16 17:06:35 +11:00
|
|
|
devServer: {
|
|
|
|
proxy: 'http://localhost:23981'
|
|
|
|
},
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|