DeTTECT/editor/vue.config.js

28 lines
736 B
JavaScript
Raw Normal View History

2020-03-18 11:57:32 +00:00
const webpack = require('webpack');
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? '/dettect-editor/' : '/',
lintOnSave: false,
configureWebpack: {
// Set up all the aliases we use in our app.
resolve: {},
plugins: [
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 6
})
]
},
pwa: {
name: 'DeTT&CT Editor',
themeColor: '#344675',
msTileColor: '#344675',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: '#344675'
},
pluginOptions: {},
css: {
// Enable CSS source maps.
sourceMap: process.env.NODE_ENV !== 'production'
}
};