Skip to content

Commit

Permalink
workflow: fix template explorer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 8, 2021
1 parent 61c5fbd commit 759ae31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/template-explorer/local.html
Expand Up @@ -6,11 +6,11 @@
<div id="source" class="editor"></div>
<div id="output" class="editor"></div>

<script src="../../node_modules/monaco-editor/min/vs/loader.js"></script>
<script src="./node_modules/monaco-editor/min/vs/loader.js"></script>
<script>
require.config({
paths: {
'vs': '../../node_modules/monaco-editor/min/vs'
'vs': './node_modules/monaco-editor/min/vs'
}
})
</script>
Expand Down
3 changes: 2 additions & 1 deletion packages/template-explorer/package.json
Expand Up @@ -11,6 +11,7 @@
"enableNonBrowserBranches": true
},
"dependencies": {
"monaco-editor": "^0.20.0"
"monaco-editor": "^0.20.0",
"source-map": "^0.6.1"
}
}
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 759ae31

Please sign in to comment.