Hayden
Hayden
Referring to [monaco-sql-languages-vite](https://github.com/HaydenOrz/monaco-sql-languages-vite), this issue can be bypassed. This may not be the ultimate solution, I'll keep track of the issue. The relevant integration documentation will be updated at a...
> > > The error reported seems to be related to `dt-sql-parser` > >  @resetsix Version `0.12.0-beta.9` has been released. With the removal of the dt-sql-parser sourceMap in this...
@resetsix @glebcha [Integrating samples](https://github.com/DTStack/monaco-sql-languages/tree/main/samples) and [integrating doc](https://github.com/DTStack/monaco-sql-languages/blob/main/documents/integrate-esm.zh-CN.md) are all done now. Integration in Vite is still not supported at this time.
> Can I count on your support with Vite integration? I'm following up on this issue, but there's no more progress at the moment. The Monaco SQL Languages [website](https://github.com/DTStack/monaco-sql-languages/blob/main/website/vite.config.ts) is...
> Is there any progress on this issue? We are planning to move to Monaco but this is a blocker. Sorry, there is no further progress at this time. We...
> @HaydenOrz Monaco SQL Languages is broken with [email protected], but only in production build. Thanks for your efforts, There are currently ways to work around this issue using some unofficial...
@glebcha @ankit-shopflo @resetsix Hi, here's the happy news. I've done my preliminary work on the antlr4 runtime migration of dt-sql-parser https://github.com/DTStack/dt-sql-parser/pull/261, and it's been much smoother than expected. Now you...
@glebcha @ankit-shopflo @resetsix monaco-sql-languages 0.12.0-beta.11 has been released: https://www.npmjs.com/package/monaco-sql-languages/v/0.12.0-beta.11 We have confirmed that the issue is fixed on this version, please install this version to fix this issue. In addition...
> P.S.: do you have plans to support the latest monaco version? At the moment it looks like moanco-sql-lanuages already supports the latest version of monaco. I didn't see any...
你可以参考 1. monaco-editor 官方文档 https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md#using-vite 2. vite 的 issue 中关于此问题的讨论 https://github.com/vitejs/vite/discussions/1791