14 lines
212 B
JavaScript
14 lines
212 B
JavaScript
|
module.exports = {
|
||
|
webpack(config) {
|
||
|
config.module.rules.push({
|
||
|
test: /\.svg$/,
|
||
|
issuer: {
|
||
|
test: /\.(js|ts)x?$/,
|
||
|
},
|
||
|
use: ['@svgr/webpack'],
|
||
|
});
|
||
|
|
||
|
return config;
|
||
|
}
|
||
|
};
|