Skip to content

Commit

Permalink
synchronous import
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Oct 26, 2024
1 parent b311e5e commit 43ba992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/template/base/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
await import("./src/env.js");
import "./src/env.js";

/** @type {import("next").NextConfig} */
const config = {
Expand Down
2 changes: 1 addition & 1 deletion cli/template/extras/config/next-config-appdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
await import("./src/env.js");
import "./src/env.js";

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

0 comments on commit 43ba992

Please sign in to comment.