我正在逐步重写一个应用程序,并将ReScript转换为ReScript。我已经在ReScript中实现了几个组件,但这是第一个组件,我使用ReactDOM.Style.t作为组件的属性。=> {}// Generated by ReScript, PLEASE EDIT WITH CARE
import *
错误: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: path/to/node_modules/rescript/lib/es6/curry.jsrequire() of /path/to/node_modules/rescript/lib/es6cjs, change the re