Snippet of Code
const config = async () => {
return await import("../test");
}
console.log(config);
The path to the configuration file is ../test
export const config = {
value1: 1,
value1: 2,
};
I am expecting to get the config from ../test, but instead it returns [AsyncFunction: config].