Hayden

Results 59 comments of 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` > > ![图片](https://private-user-images.githubusercontent.com/85431995/289333866-1b5e2752-830e-4345-9fad-5f8995c3bb94.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDI2MzgyMjIsIm5iZiI6MTcwMjYzNzkyMiwicGF0aCI6Ii84NTQzMTk5NS8yODkzMzM4NjYtMWI1ZTI3NTItODMwZS00MzQ1LTlmYWQtNWY4OTk1YzNiYjk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjE1VDEwNTg0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1MDA0MzBiNGUwNjE1MzI4MDkyNzM3MjhhNWU0NGY3M2Q3N2JjZDE4Yjk3MDdkMjIxZmIyMzRkZWEyZjQxMzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7sesVOnOtwYVxXF0CEW21zbUpuQPkMGieJk_ZqesKZM) @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