mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-25 09:15:19 +03:00
11 lines
241 B
JavaScript
11 lines
241 B
JavaScript
if (process.env.NODE_ENV !== "production") {
|
|
require("dotenv").config();
|
|
}
|
|
|
|
require("@babel/register")({
|
|
presets: ["@babel/preset-env"],
|
|
ignore: ["node_modules", ".next"],
|
|
});
|
|
|
|
module.exports = require("./" + process.argv[2] + ".js");
|