mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-14 17:25:02 +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;
|
||
|
},
|
||
|
};
|