We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5c7c4 commit c559cceCopy full SHA for c559cce
packages/notion-to-utils/package.json
@@ -7,6 +7,8 @@
7
"url": "https://github.com/01-binary/notion-to-jsx",
8
"directory": "/packages/notion-to-utils"
9
},
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
"exports": {
13
".": {
14
"import": {
packages/notion-to-utils/tsup.config.ts
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsup';
3
export default defineConfig({
4
entry: ['src/index.ts'],
5
target: 'esnext',
6
- format: ['esm'],
+ format: ['esm', 'cjs'],
splitting: true,
treeshake: true,
clean: true,
0 commit comments