Skip to content

Commit

Permalink
fix: provide an esm build
Browse files Browse the repository at this point in the history
  • Loading branch information
airtonix committed Nov 13, 2024
1 parent 7229c4c commit 6d5578a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"types": "./dist/remark-nomnoml.d.ts",
"exports": {
".": {
"import": "./dist/remark-nomnoml.js",
"import": "./dist/remark-nomnoml.mjs",
"require": "./dist/remark-nomnoml.js",
"types": "./dist/remark-nomnoml.d.ts"
}
Expand Down
1 change: 1 addition & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig((options) => {
name: 'remark-nomnoml',

shims: true,
format: ['cjs', 'esm'],

entry: ['src/remark-nomnoml.ts'],

Expand Down

0 comments on commit 6d5578a

Please sign in to comment.