Skip to content

Commit 0cac9df

Browse files
author
Alain Bourgeois
committed
allow png assets
1 parent b290be5 commit 0cac9df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

webpack.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ const common = {
2121
test: /\.css$/,
2222
use: ['style-loader', 'css-loader'],
2323
},
24+
{
25+
test: /\.(png|jpe?g|gif|webp|avif|svg)$/i,
26+
type: 'asset/resource'
27+
},
2428
{
2529
test: /\.ttl$/i,
2630
type: 'asset/source'

0 commit comments

Comments
 (0)