Skip to content

Commit

Permalink
updates output types
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtrimble committed Feb 27, 2024
1 parent 28730fd commit d5e812a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ritterim/handholdjs",
"description": "A configurable JavaScript hand held walk-through for user interfaces.",
"version": "0.1.1",
"main": "dist/handhold.umd.js",
"main": "dist/handhold.mjs",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
entry: resolve(__dirname, '/src/handhold.mjs'),
name: 'HandholdJS',
fileName: `handhold`,
formats: ['umd'],
formats: ['es', 'cjs'],
},
},
});

0 comments on commit d5e812a

Please sign in to comment.