Skip to content

Commit

Permalink
feat(devtools): reduce bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrnt committed Nov 3, 2023
1 parent 3f5d22d commit c8246c1
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 5 deletions.
8 changes: 8 additions & 0 deletions apps/angular-example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# angular-example

## 0.0.12

### Patch Changes

- Updated dependencies
- @tryabby/devtools@5.0.1
- @tryabby/angular@2.0.1

## 0.0.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/angular-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-example",
"version": "0.0.11",
"version": "0.0.12",
"private": true,
"scripts": {
"ng": "ng",
Expand Down
8 changes: 8 additions & 0 deletions apps/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# web

## 0.2.30

### Patch Changes

- Updated dependencies
- @tryabby/devtools@5.0.1
- @tryabby/next@5.0.1

## 0.2.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "0.2.29",
"version": "0.2.30",
"private": true,
"scripts": {
"build": "next build",
Expand Down
6 changes: 6 additions & 0 deletions packages/devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tryabby/devtools

## 5.0.1

### Patch Changes

- reduce bundle size

## 5.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tryabby/devtools",
"version": "5.0.0",
"version": "5.0.1",
"type": "module",
"files": [
"dist"
Expand Down
6 changes: 4 additions & 2 deletions packages/devtools/src/components/JsonEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
onMount(async () => {
// Remove the next two lines to load the monaco editor from a CDN
// see https://www.npmjs.com/package/@monaco-editor/loader#config
const monacoEditor = await import("monaco-editor");
loader.config({ monaco: monacoEditor.default });
const monacoEditor = await import("monaco-editor/esm/vs/editor/editor.api");
loader.config({
monaco: monacoEditor.default,
});
monaco = await loader.init();
isMounted = true;
Expand Down

0 comments on commit c8246c1

Please sign in to comment.