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