Skip to content

Commit

Permalink
Upgrade to webpack5 (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerebos authored Mar 9, 2023
1 parent 750f6c6 commit f5e6887
Show file tree
Hide file tree
Showing 4 changed files with 405 additions and 940 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"rimraf": "^3.0.2",
"semver": "^7.3.8",
"svelte": "^3.38.2",
"svelte-loader": "^3.0.0",
"svelte-loader": "^3.1.7",
"svelte-spa-router": "^3.1.0",
"tree-kill": "^1.2.2",
"webpack": "~4.42.1",
"webpack": "~5.76.0",
"webpack-bundle-analyzer": "^4.4.0"
},
"build": {
Expand Down Expand Up @@ -81,6 +81,9 @@
"staticSourceDirectory": "assets",
"renderer": {
"webpackConfig": "webpack.renderer.js"
},
"main": {
"webpackConfig": "webpack.main.js"
}
}
}
5 changes: 5 additions & 0 deletions webpack.main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
output: {
hashFunction: "xxhash64"
}
};
2 changes: 1 addition & 1 deletion webpack.renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = {
]
},
output: {
hashFunction: "sha256"
hashFunction: "xxhash64"
}
};
Loading

0 comments on commit f5e6887

Please sign in to comment.