Skip to content

Conversation

@cjb873
Copy link
Contributor

@cjb873 cjb873 commented Dec 4, 2024

As mentioned by #368, the editor should be able to work offline. This PR adds monaco-editor as a dev dependency, and simlinks it into the public directory, so that the editor will work offline. It will continue to use the CDN if there is an internet connection.

Edit:

The github action for pull requests was running with pnpm version 8, while the version of pnpm listed in package.json is 9.1.4. This caused a discrepancy when running pnpm run lint on a local machine versus on the github action, as on github it errors. I have also updated the workflow file to address this.

@cjb873 cjb873 marked this pull request as draft December 5, 2024 00:02
@cjb873 cjb873 marked this pull request as ready for review December 5, 2024 01:00
@AykutSarac
Copy link
Owner

  • Doesn't it increase the bundle size? Did we consider other alternatives?
  • Does it work in production, since there won't be a node_modules?

@CodeBeaverAI CodeBeaverAI mentioned this pull request Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants