codemirror / lang-example

Example/template repository for building a language package
MIT License
69 stars 43 forks source link

Is this import correct? #4

Closed sirganya closed 3 years ago

sirganya commented 3 years ago

https://github.com/codemirror/lang-example/blob/d7c23d6b659f353cfd935d750727d6999bbac3c3/src/index.ts#L1

Is this import correct?

I'm running into a lot of errors with the newer version of the language package and wanted to check this example was working.

marijnh commented 3 years ago

Yes, that is correct. It relies on the @lezer/generator/rollup Rollup plugin. The repository in its current state builds for me.