Skip to content

Commit

Permalink
build: change type to module
Browse files Browse the repository at this point in the history
Change type to module and update entrypoints and exports accordingly. Rename non-module files to `.cjs`.
  • Loading branch information
johannes-huther committed Oct 3, 2023
1 parent e04dbe9 commit 21ba920
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@crystal-creations/animated-checkmark",
"version": "4.0.0-beta.3",
"type": "module",
"author": "Crystal Creations GbR and Johannes Huther",
"license": "MIT",
"description": "A checkmark animation wrapped in a Vue component based on a codepen by Simon Wuyts",
Expand All @@ -26,13 +27,13 @@
"dist",
"src"
],
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.mjs"
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"./styles": {
"default": "./dist/style.css"
Expand Down
File renamed without changes.

0 comments on commit 21ba920

Please sign in to comment.