Skip to content

Commit

Permalink
fix: remove solid-js imports from build output
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanStandel committed Jun 12, 2022
1 parent ec84aae commit f6ad376
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-joystick",
"version": "0.0.2",
"version": "0.0.3",
"author": "[email protected]",
"description": "A highly configurable joystick component built in and for use in SolidJS",
"repository": "https://github.com/EthanStandel/solid-joystick",
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ export default defineConfig({
name: "solid-joystick",
fileName: format => `lib.${format}.js`,
},
rollupOptions: {
external: ["solid-js"],
},
},
});

0 comments on commit f6ad376

Please sign in to comment.