it-tools/vue.config.js

29 lines
543 B
JavaScript
Raw Normal View History

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