mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53: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),
|
|
}
|