Skip to content

Commit

Permalink
bump package version to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
david-fong committed Dec 11, 2020
1 parent 3329d70 commit 5e22720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "snakey3",
"version": "0.8.1",
"version": "0.9.0",
"description": "A multiplayer typing game for learning written languages.",
"keywords": [
"typing",
Expand Down
10 changes: 4 additions & 6 deletions scripts/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ const __BaseConfig = (distSubFolder: string): Require<webpack.Configuration,
},

optimization: {
minimizer: [new CssMinimizerPlugin({
minimizer: ["...", new CssMinimizerPlugin({
minimizerOptions: { preset: ["default", { discardComments: { removeAll: true }}], },
}), "..."],
})],
splitChunks: { chunks: "all", cacheGroups: {} },
removeAvailableModules: (PACK_MODE === "production"),
},
Expand Down Expand Up @@ -177,10 +177,8 @@ const CLIENT_CONFIG = __BaseConfig("client"); {
Object.assign((config.optimization?.splitChunks as any).cacheGroups, <SplitChunksOpts>{
"game-css": {
test: /src[/\\]base[/\\].*\.css$/,
name: "game-css",
chunks: "all",
priority: 1,
reuseExistingChunk: true,
name: "game-css", chunks: "all", priority: 10,
reuseExistingChunk: true, enforce: true,
},
});
const htmlPluginOptions: HtmlPlugin.Options = {
Expand Down

0 comments on commit 5e22720

Please sign in to comment.