mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
16 lines
235 B
JavaScript
16 lines
235 B
JavaScript
|
require('dotenv').config();
|
||
|
|
||
|
module.exports = {
|
||
|
webpack(config) {
|
||
|
config.module.rules.push({
|
||
|
test: /\.svg$/,
|
||
|
issuer: {
|
||
|
test: /\.js$/,
|
||
|
},
|
||
|
use: ['@svgr/webpack'],
|
||
|
});
|
||
|
|
||
|
return config;
|
||
|
},
|
||
|
};
|