Open
Description
Describe the bug
在JavaScript插件中无法正常使用import语法,该用法在旧版LLSE中是完全可用的,导致很多插件无法在新版中使用
To Reproduce
BetterForms.js
export class BetterSimpleForm {}; export class BetterCustomForm {};
在LLMyPluginTest.js使用import语法导入模块
import { BetterSimpleForm, BetterCustomForm } from "./plugins/LLMyPlugins/BetterForms.js";
报错信息
18:32:11.206 INFO [legacy-script-engine-quickjs] loading plugin LLMyPluginTest
18:32:11.221 ERROR [legacy-script-engine-quickjs] Failed to load plugin LLMyPluginTest: expecting '(' at :1
18:32:11.221 ERROR [LeviLamina] LLMyPluginTest 加载失败
Expected behavior
插件正常运行无报错
Screenshots
No response
Platform
Windows 10
BDS Version
1.20.72
LeviLamina Version
0.10.5
LegacyScriptEngine Version
0.5.4
Additional context
No response