Skip to content

Commit 8afa199

Browse files
fix: update playroom config to allow importing svgs in .tsx files (#3835)
1 parent 2da8baa commit 8afa199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/playroom.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = {
4747
},
4848
{
4949
test: /.svg(\?v=\d+\.\d+\.\d+)?$/,
50-
issuer: /\.jsx?$/,
50+
issuer: /\.(jsx|tsx)?$/,
5151
use: ['@svgr/webpack'],
5252
},
5353
{

0 commit comments

Comments
 (0)