Skip to content

Commit

Permalink
fix: updating vue to latest (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain authored Apr 5, 2024
1 parent 5d2735d commit 5d54387
Show file tree
Hide file tree
Showing 3 changed files with 3,307 additions and 4,026 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dexie-observable": "1.0.0-beta.5",
"file-saver-es": "^2.0.5",
"mersenne-twister": "1.1.0",
"node-polyfill-webpack-plugin": "^3.0.0",
"thor-devkit": "^2.0.5",
"vee-validate": "2.1.5",
"vue": "2.7.14",
Expand All @@ -30,11 +31,11 @@
},
"devDependencies": {
"@types/color": "3.0.0",
"@types/node": "^16.18.69",
"@types/mersenne-twister": "1.1.2",
"@vue/cli-plugin-pwa": "^4.5.15",
"@vue/cli-plugin-typescript": "^4.5.15",
"@vue/cli-service": "^4.5.15",
"@types/node": "^16.18.69",
"@vue/cli-plugin-pwa": "^5.0.8",
"@vue/cli-plugin-typescript": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"sass": "^1.54.5",
"sass-loader": "^7.0.1",
"typescript": "~4.1.5",
Expand Down
17 changes: 14 additions & 3 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
module.exports = {
const { defineConfig } = require("@vue/cli-service");
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
module.exports = defineConfig({
publicPath: '/',
pwa: {
iconPaths: {
favicon32: 'img/icons/favicon-128.ico',
favicon16: 'img/icons/favicon-64.ico'
}
}
}
},
transpileDependencies: true,
configureWebpack: {
plugins: [new NodePolyfillPlugin()],
optimization: {
splitChunks: {
chunks: "all",
},
},
},
});
Loading

0 comments on commit 5d54387

Please sign in to comment.