docs: minor fix in the sample config for ESM (#6340)

The line `return config;` was left by mistake I guess. The function is already returning the `config` object.
This commit is contained in:
Pranab Das 2022-01-14 19:24:55 +08:00 committed by GitHub
parent 8b7ab21d38
commit 99dbf1a121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,6 @@ async function createConfig() {
], ],
// highlight-end // highlight-end
}; };
return config;
} }
module.exports = createConfig; module.exports = createConfig;