mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-17 11:04:09 -08:00
12 lines
206 B
JavaScript
12 lines
206 B
JavaScript
const config = {};
|
|
|
|
if (process.env.TEST_FRONTEND) {
|
|
config.presets = ["@babel/preset-env"];
|
|
}
|
|
|
|
if (process.env.TEST_BACKEND) {
|
|
config.plugins = ["babel-plugin-rewire"];
|
|
}
|
|
|
|
module.exports = config;
|