Skip to content

Commit

Permalink
Merge pull request #5 from iway1/fix-config
Browse files Browse the repository at this point in the history
changes output to .cjs
  • Loading branch information
iway1 authored Jan 2, 2023
2 parents b516c1c + c326a48 commit c51f065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@ts-react/form",
"version": "1.0.5",
"version": "1.0.6",
"description": "Build forms faster!",
"module": "lib/index.mjs",
"main": "lib/index.js",
"main": "lib/index.cjs",
"types": "lib/src/index.d.ts",
"scripts": {
"dev": "jest --watchAll",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default [
input: "src/index.ts",
plugins: [typescript({ tsconfig: "tsconfig.json" }), terser()],
output: [
{ file: "lib/index.js", format: "cjs" },
{ file: "lib/index.cjs", format: "cjs" },
{ file: "lib/index.mjs", format: "es" },
],
},
Expand Down

0 comments on commit c51f065

Please sign in to comment.