mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 14:56:17 -04:00
29 lines
No EOL
543 B
JavaScript
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,
|
|
}
|
|
}
|
|
} |