uptime-kuma/babel.config.js
2021-10-13 02:53:59 +08:00

11 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;