workflow: fix template explorer deps

This commit is contained in:
Evan You 2021-10-08 14:33:16 -04:00
parent 61c5fbd3e3
commit 759ae31e08
3 changed files with 6 additions and 3 deletions

View File

@ -6,11 +6,11 @@
<div id="source" class="editor"></div> <div id="source" class="editor"></div>
<div id="output" 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> <script>
require.config({ require.config({
paths: { paths: {
'vs': '../../node_modules/monaco-editor/min/vs' 'vs': './node_modules/monaco-editor/min/vs'
} }
}) })
</script> </script>

View File

@ -11,6 +11,7 @@
"enableNonBrowserBranches": true "enableNonBrowserBranches": true
}, },
"dependencies": { "dependencies": {
"monaco-editor": "^0.20.0" "monaco-editor": "^0.20.0",
"source-map": "^0.6.1"
} }
} }

View File

@ -256,8 +256,10 @@ importers:
packages/template-explorer: packages/template-explorer:
specifiers: specifiers:
monaco-editor: ^0.20.0 monaco-editor: ^0.20.0
source-map: ^0.6.1
dependencies: dependencies:
monaco-editor: 0.20.0 monaco-editor: 0.20.0
source-map: 0.6.1
packages/vue: packages/vue:
specifiers: specifiers: