Skip to content

Commit 0004098

Browse files
committedMay 17, 2021
feat(pkg)!: add exports field
1 parent f44ae7c commit 0004098

File tree

2 files changed

+517
-484
lines changed

2 files changed

+517
-484
lines changed
 

‎package.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@
55
"repository": "nuxt-contrib/is-https",
66
"license": "MIT",
77
"sideEffects": false,
8-
"main": "dist/index.js",
9-
"module": "dist/index.mjs",
10-
"types": "dist/index.d.ts",
8+
"exports": {
9+
".": {
10+
"require": "./dist/index.js",
11+
"import": "./dist/index.mjs"
12+
}
13+
},
14+
"main": "./dist/index.js",
15+
"module": "./dist/index.mjs",
16+
"types": "./dist/index.d.ts",
1117
"files": [
1218
"dist"
1319
],

‎yarn.lock

+508-481
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.