Skip to content

Commit

Permalink
fix(file-loader): use base62 digest type for file names
Browse files Browse the repository at this point in the history
file-loader doesn't support base64url, so use base62 instead
  • Loading branch information
djcsdy committed Nov 24, 2022
1 parent fb1bc19 commit cfd65c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ function WebpackConfig(
esModule: false,
name:
mode === "development"
? "[path][name]-[sha256:contenthash:base64url:8].[ext]"
: "[sha256:contenthash:base64url:8].[ext]"
? "[path][name]-[sha256:contenthash:base62:8].[ext]"
: "[sha256:contenthash:base62:8].[ext]"
}
};

Expand Down

0 comments on commit cfd65c8

Please sign in to comment.