Skip to content

Commit 0de8efa

Browse files
compress monaco editor
1 parent 79186f1 commit 0de8efa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/nextjs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
mkdir deploy/third-party && \
7171
mkdir deploy/third-party/monaco-editor && \
7272
tar -xvzf third-party/monaco-editor-0.52.2.tgz -C deploy/third-party/monaco-editor && \
73-
cp -r deploy/third-party/monaco-editor/package/min/vs deploy/vs
73+
cp -r deploy/third-party/monaco-editor/package/min/vs deploy/vs && \
74+
rm -rf third-party/monaco-editor/package/esm/ && \
75+
rm -rf third-party/monaco-editor/package/dev/
7476
- name: Upload artifact
7577
uses: actions/upload-pages-artifact@v3
7678
with:

0 commit comments

Comments
 (0)