Skip to content

Commit

Permalink
chore: configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-perkins committed Jan 5, 2024
1 parent d83d12c commit 93f2e2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/react-demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ function App() {
return (
<>
<MyComponent first="John" last="Doe" />
<MyButton onStencilClick={(res) => console.log('hello', res.detail.data)}>
<MyButton
onStencilComplexClick={(ev) => {
// This event is not actually emitted by the component
console.log('complex click', ev.detail);
}}
onStencilClick={(res) => console.log('hello', res.detail.data)}
>
Click me
</MyButton>
</>
Expand Down
4 changes: 3 additions & 1 deletion packages/react-output-target/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export default defineConfig({
output: {
// Provide global variables to use in the UMD build
// for externalized deps
globals: {},
globals: {
'ts-morph': 'tsMorph',
},
},
},
},
Expand Down

0 comments on commit 93f2e2f

Please sign in to comment.