it-tools/vue.config.js
Corentin Thomasset 66c569f886
chore: pwa auto update
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
2020-07-08 13:35:24 +02:00

29 lines
No EOL
543 B
JavaScript

const webpack = require('webpack');
module.exports = {
"transpileDependencies": [
"vuetify"
],
configureWebpack: () => {
return {
module:{
rules: [
{ test: /\.md$/, use: 'raw-loader' }
]
},
plugins: [
new webpack.DefinePlugin({
'process.env': {
'APPLICATION_VERSION': JSON.stringify(require('./package.json').version),
}
})
]
}
},
pwa: {
workboxOptions: {
skipWaiting: true,
clientsClaim: true,
}
}
}