Commit 1e69a72
committed
feat(cli): add ESM config loader
Since Node.js added support for loading ESM modules synchronously [1], the same
mechanism can be reused, assuming an ESM module's file extension to be `.mjs`.
Implements: #5049
[1] https://nodejs.org/api/modules.html#loading-ecmascript-modules-using-require1 parent abf3dd9 commit 1e69a72
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments