Skip to content

Commit 43ba992

Browse files
synchronous import
1 parent b311e5e commit 43ba992

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/template/base/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
33
* for Docker builds.
44
*/
5-
await import("./src/env.js");
5+
import "./src/env.js";
66

77
/** @type {import("next").NextConfig} */
88
const config = {

cli/template/extras/config/next-config-appdir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
33
* for Docker builds.
44
*/
5-
await import("./src/env.js");
5+
import "./src/env.js";
66

77
/** @type {import("next").NextConfig} */
88
const config = {};

0 commit comments

Comments
 (0)