Skip to content

Commit

Permalink
Update.eleventy.js
Browse files Browse the repository at this point in the history
changes dotenv require to dynamic import
  • Loading branch information
willum070 authored Jul 10, 2024
1 parent a3bba7f commit02b7549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require("dotenv").config();
import{config}from"dotenv";
config();

importtypescriptfrom"./src/engines/typescript/sample";
importtypescriptJSXfrom"./src/engines/typescript/sample-jsx";
Expand Down

0 comments on commit02b7549

Please sign into comment.