File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0-development" ,
4
4
"description" : " neat wrapper for various caches" ,
5
5
"main" : " dist/index.cjs" ,
6
- "module" : " dist/index.js " ,
6
+ "module" : " dist/index.mjs " ,
7
7
"types" : " dist/index.d.ts" ,
8
8
"exports" : {
9
9
"." : {
10
10
"require" : " ./dist/index.cjs" ,
11
- "import" : " ./dist/index.js " ,
11
+ "import" : " ./dist/index.mjs " ,
12
12
"types" : " ./dist/index.d.ts"
13
13
}
14
14
},
15
15
"scripts" : {
16
16
"prepare" : " rm -rf dist && npm run build" ,
17
17
"build" : " npm run build:declarations && npm run build:esm && npm run build:cjs" ,
18
18
"build:declarations" : " tsc && rm dist/cachified.spec.d.ts" ,
19
- "build:esm" : " esbuild src/index.ts --outfile=dist/index.js --format=esm --bundle --target=es2020 --sourcemap --minify" ,
19
+ "build:esm" : " esbuild src/index.ts --outfile=dist/index.mjs --format=esm --bundle --target=es2020 --sourcemap --minify" ,
20
20
"build:cjs" : " esbuild src/index.ts --outfile=dist/index.cjs --format=cjs --bundle --target=es2016 --sourcemap" ,
21
21
"test" : " jest"
22
22
},
You can’t perform that action at this time.
0 commit comments