mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-12-18 08:33:16 +00:00
39 lines
790 B
JavaScript
39 lines
790 B
JavaScript
|
const webpack = require('webpack');
|
||
|
|
||
|
module.exports = {
|
||
|
lintOnSave: false,
|
||
|
configureWebpack: {
|
||
|
// Set up all the aliases we use in our app.
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
'chart.js': 'chart.js/dist/Chart.js'
|
||
|
}
|
||
|
},
|
||
|
plugins: [
|
||
|
new webpack.optimize.LimitChunkCountPlugin({
|
||
|
maxChunks: 6
|
||
|
})
|
||
|
]
|
||
|
},
|
||
|
pwa: {
|
||
|
name: 'XSSHunter Express',
|
||
|
themeColor: '#344675',
|
||
|
msTileColor: '#344675',
|
||
|
appleMobileWebAppCapable: 'yes',
|
||
|
appleMobileWebAppStatusBarStyle: '#344675'
|
||
|
},
|
||
|
pluginOptions: {
|
||
|
i18n: {
|
||
|
locale: 'en',
|
||
|
fallbackLocale: 'en',
|
||
|
localeDir: 'locales',
|
||
|
enableInSFC: false
|
||
|
}
|
||
|
},
|
||
|
css: {
|
||
|
// Enable CSS source maps.
|
||
|
sourceMap: process.env.NODE_ENV !== 'production'
|
||
|
},
|
||
|
publicPath: ''
|
||
|
};
|