mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-04 21:43:48 +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),
|
|
}
|