24 lines
385 B
JavaScript
24 lines
385 B
JavaScript
const Dotenv = require('dotenv-webpack');
|
|
module.exports = {
|
|
devServer: {
|
|
proxy: 'http://localhost:23981'
|
|
},
|
|
|
|
publicPath: '/',
|
|
productionSourceMap: false,
|
|
|
|
configureWebpack: {
|
|
plugins: [
|
|
new Dotenv()
|
|
]
|
|
},
|
|
|
|
pluginOptions: {
|
|
i18n: {
|
|
locale: 'en',
|
|
fallbackLocale: 'debug',
|
|
localeDir: 'locales',
|
|
enableInSFC: false
|
|
}
|
|
}
|
|
}
|