GoDV-Client/vue.config.js
2019-11-05 00:48:04 +08:00

25 lines
574 B
JavaScript

const webpack = require('webpack');
const isProd = process.env.NODE_ENV === "production";
module.exports = {
configureWebpack: {
// Set up all the aliases we use in our app.
plugins: [
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 6
})
]
},
pwa: {
name: 'Vue Argon Dashboard',
themeColor: '#172b4d',
msTileColor: '#172b4d',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: '#172b4d'
},
css: {
// Enable CSS source maps.
sourceMap: process.env.NODE_ENV !== 'production'
}
};