Skip to content

Commit

Permalink
fix: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Feb 21, 2024
1 parent 39cfcbc commit fef3245
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="src/main.ts"></script>
<script type="module" src="src/index.ts"></script>
</body>
</html>
File renamed without changes.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default ({ mode }: { mode: string }): UserConfigExport =>
build: {
lib: {
// Could also be a dictionary or array of multiple entry points
entry: resolve(__dirname, 'src/main.ts'),
entry: resolve(__dirname, 'src/index.ts'),
name: 'graasp-map',
formats: ['cjs', 'es'],
// the proper extensions will be added
Expand Down

0 comments on commit fef3245

Please sign in to comment.