update vue.config.js

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-04-23 21:18:44 +02:00
parent abb19a4ac9
commit 11f46e8ec8
3 changed files with 1366 additions and 82 deletions

1289
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -53,12 +53,15 @@
"generate-file-webpack-plugin": "^1.0.1", "generate-file-webpack-plugin": "^1.0.1",
"monaco-editor-webpack-plugin": "^3.0.1", "monaco-editor-webpack-plugin": "^3.0.1",
"monaco-vscode-textmate-theme-converter": "^0.1.1", "monaco-vscode-textmate-theme-converter": "^0.1.1",
"node-sass": "^5.0.0",
"sass": "^1.32.8", "sass": "^1.32.8",
"sass-loader": "^10.1.1", "sass-loader": "^10.1.1",
"style-loader": "^2.0.0",
"sw-precache-webpack-plugin": "^1.0.0", "sw-precache-webpack-plugin": "^1.0.0",
"vue-cli-plugin-route": "0.0.7", "vue-cli-plugin-route": "0.0.7",
"vue-cli-plugin-vuetify": "^2.3.1", "vue-cli-plugin-vuetify": "^2.3.1",
"vue-i18n-extract": "^1.2.0", "vue-i18n-extract": "^1.2.0",
"vue-loader": "^15.9.6",
"vue-router": "^3.5.1", "vue-router": "^3.5.1",
"vue-template-compiler": "^2.6.12", "vue-template-compiler": "^2.6.12",
"vuetify-loader": "^1.7.2" "vuetify-loader": "^1.7.2"

View File

@ -36,12 +36,28 @@ module.exports = {
}), }),
generate({ generate({
file: '.version', file: '.version',
content: 'v'+version content: 'v' + version
}) }),
] ],
}, },
css: {
loaderOptions: {
sass: {
sassOptions: {
}
}
}
},
/*chainWebpack: config => {
config.module
.rule('scss')
.use('sass-loader')
.loader('sass-loader')
.end();
},*/
pwa: { pwa: {
serviceWorker:false, serviceWorker: false,
iconPaths: { iconPaths: {
favicon16: 'img/icons/favicon-16x16.png', favicon16: 'img/icons/favicon-16x16.png',
favicon32: 'img/icons/favicon-32x32.png', favicon32: 'img/icons/favicon-32x32.png',