diff --git a/packages/mdsvex/package.json b/packages/mdsvex/package.json index 64c39a62..0d354a45 100644 --- a/packages/mdsvex/package.json +++ b/packages/mdsvex/package.json @@ -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"