microsoft / microsoft/monaco-editor

Add instructions for integrating ESM version with snowpack

Open
#2,227 13 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation ESM feature-request
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

Can we have instructions on how to integrate the ESM version of Monaco with Snowpack?
As in here:
https://github.com/microsoft/monaco-editor/blob/master/docs/integrate-esm.md

I'm currently trying different configurations and all seems to work except when workers are created.

If any one has a simple snowpack setup to share I can try it and have a PR to update the docs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/integrate-esm.md and reproduce the reported ESM integration issue with a simple Snowpack setup, focusing on worker creation. Document the working Snowpack configuration and worker-related steps in the ESM integration instructions, then verify that the example works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.