Skip to content

Commit

Permalink
docs: update extensions generated in library mode (#11401)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Dec 17, 2022
1 parent af86e5b commit 394148e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide/build.md
Expand Up @@ -194,14 +194,14 @@ Or, if exposing multiple entry points:
"type": "module",
"files": ["dist"],
"main": "./dist/my-lib.cjs",
"module": "./dist/my-lib.mjs",
"module": "./dist/my-lib.js",
"exports": {
".": {
"import": "./dist/my-lib.mjs",
"import": "./dist/my-lib.js",
"require": "./dist/my-lib.cjs"
},
"./secondary": {
"import": "./dist/secondary.mjs",
"import": "./dist/secondary.js",
"require": "./dist/secondary.cjs"
}
}
Expand Down

0 comments on commit 394148e

Please sign in to comment.