Skip to content

Commit

Permalink
⚒️Fix: ESM Modules
Browse files Browse the repository at this point in the history
  • Loading branch information
arnav-kr committed May 11, 2022
1 parent 69cbc0b commit d7522dc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
"main": "dist/lib/index.js",
"module": "dist/esm/index.js",
"types": "dist/lib/index.d.js",
"exports": {
".": {
"require": "./dist/lib/index.js",
"import": "./dist/esm/index.mjs",
"types": "./dist/lib/index.d.ts"
}
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:umd",
"build:cjs": "tsc -p tsconfig.cjs.json",
Expand All @@ -24,8 +17,7 @@
"url": "git+https://github.com/arnav-kr/dc-tokens.git"
},
"files": [
"lib",
"esm"
"dist/"
],
"keywords": [
"dc-tokens",
Expand Down Expand Up @@ -58,4 +50,4 @@
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
}
}
}

0 comments on commit d7522dc

Please sign in to comment.