Skip to content

Commit

Permalink
Merge pull request #53 from ssi02014/dev
Browse files Browse the repository at this point in the history
chore: package.json
  • Loading branch information
ssi02014 authored Nov 10, 2023
2 parents 4c1898f + deea624 commit 5c8e757
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@
"name": "react-thumbnail-generator",
"version": "3.1.1",
"description": "react-thumbnail-generator",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export default {
output: [
{
file: pkg.main,
sourcemap: false,
sourcemap: true,
format: 'cjs',
},
{
file: pkg.module,
sourcemap: false,
sourcemap: true,
format: 'esm',
},
],
Expand Down

0 comments on commit 5c8e757

Please sign in to comment.