bitburner-src/babel.config.js
2021-08-26 17:02:02 -07:00

10 lines
220 B
JavaScript

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