Skip to content

Commit

Permalink
fix image 404 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mizok committed Apr 16, 2022
1 parent 984c788 commit 0b5bf83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: webpack-template
date:
author: Mizok
version: 0.8.0
version: 0.8.1
tags:
---

Expand Down
9 changes: 9 additions & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,15 @@ const config = (env: any, argv: any): webpack.Configuration => {
ignore: ['**/.DS_Store', '**/.gitkeep'],
},
noErrorOnMissing: true,
},
{
from: 'src/assets/images',
to: 'assets/images',
globOptions: {
dot: true,
ignore: ['**/.DS_Store', '**/.gitkeep'],
},
noErrorOnMissing: true,
}
],
}
Expand Down

0 comments on commit 0b5bf83

Please sign in to comment.