Skip to content

Commit

Permalink
fix: post install script for #48
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Feb 12, 2025
1 parent 35969f1 commit d7a8370
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/postinstall.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ packages.forEach((p) => {
pkg.exports = {
'.': {
types: './dist/index.d.ts',
...(pkg.name === 'bytemd'
? {
svelte: './svelte/index.js',
}
: {}),
import: './dist/index.mjs',
require: './dist/index.js',
},
Expand Down

0 comments on commit d7a8370

Please sign in to comment.