wenyan-lang / wenyan

文言文編程語言 A programming language for the ancient Chinese.
https://wy-lang.org/
MIT License
19.59k stars 1.1k forks source link

文淵閣 Packages in Online IDE Produce TypeError #675

Open ArrowniteEZ opened 2 years ago

ArrowniteEZ commented 2 years ago

As the title says, importing any 文淵閣 Package produces a TypeError. For instance, "吾嘗觀「「简体秘术」」之書。" in the IDE outputs "TypeError: __webpack_require__(...) is not a function". Is there any way to fix this issue?

nobodxbodon commented 2 years ago

I got "ReferenceError: require is not defined" before the same TypeError: referenceErr

akira-cn commented 2 years ago

Already fixed this. https://github.com/wenyan-lang/ide/pull/15

As the title says, importing any 文淵閣 Package produces a TypeError. For instance, "吾嘗觀「「简体秘术」」之書。" in the IDE outputs "TypeError: webpack_require(...) is not a function". Is there any way to fix this issue?