We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f996d1 commit 4639df6Copy full SHA for 4639df6
2 files changed
package.json
@@ -15,14 +15,19 @@
15
"exports": {
16
".": {
17
"types": "./dist/index.d.mts",
18
+ "main": "./dist/index.cjs",
19
"import": "./dist/index.mjs"
20
},
21
"./iconify": {
22
"types": "./dist/iconify.d.mts",
23
+ "main": "./dist/iconify.cjs",
24
"import": "./dist/iconify.mjs"
25
26
"./package.json": "./package.json"
27
28
29
+ "module": "./dist/index.mjs",
30
+ "types": "./dist/index.d.mts",
31
"files": [
32
"dist"
33
],
tsdown.config.ts
@@ -3,6 +3,7 @@ import { defineConfig } from 'tsdown'
3
export default defineConfig({
4
entry: ['src/index.ts', 'src/iconify.ts'],
5
dts: true,
6
+ format: ['cjs', 'esm'],
7
publint: true,
8
// attw: {
9
// profile: 'node16',
0 commit comments