28 lines
736 B
JavaScript
28 lines
736 B
JavaScript
|
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'
|
||
|
}
|
||
|
};
|