-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
When I use topcoder-react-utils as it is, I had lots of issues with SVG files.
I've added the next rule from community app and all issues with SVG gone https://github.com/topcoder-platform/community-app/blob/develop/config/webpack/default.js#L20-L27
rules: [{
test: /\.svg$/,
loader: 'file-loader',
options: {
outputPath: '/images/',
publicPath: '/community-app-assets',
},
}],
Didn't dig deep why is it like this. But probably this rule can be added to topcoder-react-utils so SVG works out of the box.
Metadata
Metadata
Assignees
Labels
No labels