Skip to content

Commit

Permalink
feat: react pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
wkylin committed Jul 27, 2024
1 parent 8efe226 commit b9371c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added src/assets/pdf/myResume.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const config = {
],
},
{
test: /\.(png|jpe?g|gif|webp|eot|ttf|woff|woff2|mp4)$/i,
test: /\.(png|jpe?g|gif|webp|eot|ttf|woff|woff2|mp4|pdf)$/i,
type: 'asset',
parser: {
// Conditions for converting to base64
Expand Down

0 comments on commit b9371c4

Please sign in to comment.