Skip to content

Commit

Permalink
add exports map to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Aug 14, 2024
1 parent c12dd3b commit 9a138eb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/mdsvex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
"name": "mdsvex",
"version": "0.11.2",
"description": "Markdown preprocessor for Svelte",
"main": "dist/main.cjs.js",
"module": "dist/main.es.js",
"browser": "dist/mdsvex.js",
"exports": {
".": {
"require": "dist/main.cjs",
"default": "dist/main.mjs"
}
},
"main": "dist/main.cjs",
"module": "dist/main.mjs",
"repository": "https://github.com/pngwn/MDsveX",
"scripts": {
"build": "rollup -c"
Expand Down

0 comments on commit 9a138eb

Please sign in to comment.