Skip to content

Commit

Permalink
bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarteist committed Nov 10, 2021
1 parent b0cd527 commit ebeed16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ module.exports = function (env, args) {
},
{
test: /\.(png|svg|jpe?g|gif)$/,
generator: {
filename: 'images/[hash][ext]',
},
use: [
{
loader: 'file-loader',
Expand Down Expand Up @@ -136,7 +139,7 @@ module.exports = function (env, args) {
loader: 'file-loader',
type: 'asset/resource',
generator: {
filename: 'fonts/[hash].[ext]',
filename: 'fonts/[hash][ext]',
},
options: {
outputPath: 'fonts',
Expand Down

0 comments on commit ebeed16

Please sign in to comment.