Skip to content

Commit

Permalink
fix: fix issue with ts usage
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Nov 14, 2023
1 parent fb815c0 commit 8101d29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions libs/widget-react/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "@cowprotocol/widget-react",
"version": "0.2.1",
"main": "./index.js",
"types": "./index.d.ts",
"version": "0.2.2",
"type": "commonjs",
"description": "CoW Swap Widget Library. Allows you to easily embed a CoW Swap widget on your React application.",
"main": "index.js",
"exports": {
"import": "./index.mjs",
"require": "./index.js"
"import": "./index.js",
"require": "./index.mjs"
},
"license": "ISC",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions libs/widget-react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"jsx": "react-jsx",
"allowJs": false,
Expand All @@ -16,6 +17,5 @@
{
"path": "./tsconfig.spec.json"
}
],
"extends": "../../tsconfig.base.json"
]
}

2 comments on commit 8101d29

@vercel
Copy link

@vercel vercel bot commented on 8101d29 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 8101d29 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cosmos – ./

cosmos-git-main-cowswap.vercel.app
cowswap-seven.vercel.app
cosmos-cowswap.vercel.app
cosmos.cow.fi

Please sign in to comment.