8449a9727c
This enables default support for parsing bigInt, optional chaining and nullish coalescing, and also adds the `expressionPlugins` compiler option for enabling additional parsing plugins listed at https://babeljs.io/docs/en/next/babel-parser#plugins.
28 lines
891 B
HTML
28 lines
891 B
HTML
<title>Vue Template Explorer</title>
|
|
<link rel="stylesheet" data-name="vs/editor/editor.main" href="https://unpkg.com/monaco-editor@0.18.1/min/vs/editor/editor.main.css">
|
|
<link rel="stylesheet" href="./style.css">
|
|
|
|
<div id="header"></div>
|
|
<div id="source" class="editor"></div>
|
|
<div id="output" class="editor"></div>
|
|
|
|
<script src="https://unpkg.com/estree-walker@0.8.1/dist/estree-walker.umd.js"></script>
|
|
<script src="https://unpkg.com/source-map@0.6.1/dist/source-map.js"></script>
|
|
<script src="https://unpkg.com/monaco-editor@0.18.1/min/vs/loader.js"></script>
|
|
<script>
|
|
window._deps = {
|
|
'estree-walker': estreeWalker,
|
|
'source-map': sourceMap
|
|
}
|
|
|
|
require.config({
|
|
paths: {
|
|
'vs': 'https://unpkg.com/monaco-editor/min/vs'
|
|
}
|
|
})
|
|
</script>
|
|
<script src="./dist/template-explorer.global.js"></script>
|
|
<script>
|
|
require(['vs/editor/editor.main'], init /* injected by build */)
|
|
</script>
|