mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-26 20:39:07 +01:00
20 lines
314 B
JavaScript
20 lines
314 B
JavaScript
require('dotenv').config();
|
|
const pkg = require('./package.json');
|
|
|
|
module.exports = {
|
|
env: {
|
|
VERSION: pkg.version,
|
|
},
|
|
webpack(config) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/,
|
|
issuer: {
|
|
test: /\.js$/,
|
|
},
|
|
use: ['@svgr/webpack'],
|
|
});
|
|
|
|
return config;
|
|
},
|
|
};
|