mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
10 lines
220 B
JavaScript
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),
|
|
}
|