mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-13 00:48:58 +08:00
fix: enable optimizing dependencies in build mode
This commit is contained in:
@@ -57,7 +57,9 @@ function main() {
|
||||
model: monaco.editor.createModel(
|
||||
decodeURIComponent(window.location.hash.slice(1)) ||
|
||||
persistedState.src ||
|
||||
'const App = () => <div>Hello World</div>',
|
||||
`import { defineComponent } from 'vue'
|
||||
|
||||
const App = defineComponent((props) => <div>Hello World</div>)`,
|
||||
'typescript',
|
||||
monaco.Uri.parse('file:///app.tsx')
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user