From 7322589b64742bf8246a0ac4f5bf65e3e991e63f Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 30 Nov 2023 12:58:27 +0800 Subject: [PATCH] feat!: auto import css + split editor css from main component This avoids including Monaco Editor css when using CodeMirror, and vice-versa. In addition, CSS will be auto imported when the relevant JS entries are imported. This is breaking because it makes the dist files require a build system that can handle CSS imports from JS. --- README.md | 6 ++++-- package.json | 4 ++-- vite.config.ts | 28 ++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f2bb3c07..e6851ba8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ Basic editing experience with no intellisense. Lighter weight, fewer network req