using regular way to import import { foo } from './func.ts', and call foo() got
TypeError: not a function
at ./src/plugin/controller.ts (PLUGIN_71_SOURCE:119)
at call (native)
at __webpack_require__ (PLUGIN_71_SOURCE:20)
at (PLUGIN_71_SOURCE:84)
at (PLUGIN_71_SOURCE:343)
at call (native)
at (PLUGIN_71_SOURCE:346)
using regular way to import
import { foo } from './func.ts'
, and callfoo()
got