Commit Graph

25 Commits (9adbed19a9d5972104e6aff788f2e1ae71e91102)

Author SHA1 Message Date
Henning Dieterichs 43f712259c
Adds out folder docs 2 years ago
Henning Dieterichs b959906fe3
Updates docs 2 years ago
SuperSonic d83a306b9b
Fix menu link in integrate-esm.md 3 years ago
Henning Dieterichs 18bf1f4658
Fixes prettier issue. 3 years ago
Daniel Veihelmann 3717a26fcb
FIx formatting 3 years ago
Daniel Veihelmann f0c47e6e2d
Make Vite sample code Firefox compatible
The current sample code for "Using Vite" works fine in Chrome, but causes errors in Firefox: 

`Error: import declarations may only appear at top level of a module`

In addition to many errors logged to the console, this also causes subtle bugs in Firefox (e.g. the highlighting in the diff editor didn't work).

The problem appears to be that Firefox requires an explicit `type: module` for the web workers.

The revised implementation for Vite takes this into account and has been tested successfully in Chrome and Firefox.
3 years ago
Alex Dima 903a92c7bb
Update links 3 years ago
Alex Dima 97da96fa8c
Move integration guides to `/docs` 3 years ago
Alex Dima 497507ffee
Move into `monaco-editor` directory 3 years ago
Thien Do a73ab1223b
Add usage with Vite to ESM Integrate doc
Fix #2629
3 years ago
Alexandru Dima 733d68af03
Fix documentation (#2212) 4 years ago
Alex Dima daabff0021
Remove usage of X-UA-Compatible 5 years ago
Alexandru Dima dc47a2706e
Update example to correctly package .ttf (microsoft/monaco-editor-webpack-plugin#90) 5 years ago
Sebastián Gurin 7e0bb7aa51
fix worker paths in parcel
I just tried this instructions and I found this small detail for they to work perfectly
6 years ago
Alexandru Dima 8d80dc2f52
Update integrate-esm.md 6 years ago
Alexandru Dima 945211a03e
Update integrate-esm.md 6 years ago
Aaron Gill-Braun 20f1b5a2ab
Added documentation for parcel.
The sample using parcel (https://github.com/Microsoft/monaco-editor-samples/tree/master/browser-esm-parcel) does not work due the how parcel handlers workers. Added documentation showing how parcel can still be used by bundling workers separately.
6 years ago
Shivansh Saini cad50490f4 Fix typos and grammar mistakes. 6 years ago
Alex Dima ac8cbe3edb Docs 7 years ago
Sebastián Gurin 046a04289b fix small error in integration docs 7 years ago
Alexandru Dima 5c2a695a7a
Update integrate-esm.md 7 years ago
Alex Dima 139273dc0a Document the Webpack Monaco Editor Loader Plugin 7 years ago
Alex Dima b5607fec63 Fixes #795 7 years ago
Alexandru Dima a6f35e1e52
Update integrate-esm.md 7 years ago
Alex Dima b8a3d0a727 Improve documentation 7 years ago