bitburner-src/babel.config.js

10 lines
220 B
JavaScript
Raw Normal View History

2021-08-27 02:02:02 +02:00
const TEST = process.env.NODE_ENV === "test";
module.exports = {
"presets": [
"@babel/preset-react",
TEST && "@babel/preset-env",
TEST && "@babel/preset-typescript",
].filter(Boolean),
}