Skip to content

Commit

Permalink
Merge pull request #387 from akwodkiewicz/dev
Browse files Browse the repository at this point in the history
fix: rename lib.js to lib.web.js
  • Loading branch information
hoffmannjan authored Feb 12, 2024
2 parents 6253538 + 99186c4 commit d8bc3b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-casper-client-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Get latest release version number
id: get_version
uses: battila7/get-version-action@d97fbc34ceb64d1f5d95f4dfd6dce33521ccccf5 #v2.3.0
- run: cp dist/lib.js casper-js-sdk.v${{ steps.get_version.outputs.version }}.js
- run: cp dist/lib.web.js casper-js-sdk.v${{ steps.get_version.outputs.version }}.js
- uses: meeDamian/github-release@7ae19492500104f636b3fee4d8103af0fed36c8e #v2.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/casper-ecosystem/casper-js-sdk.git"
},
"main": "dist/lib.node.js",
"browser": "dist/lib.js",
"browser": "dist/lib.web.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky-run install",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const clientConfig = {
],
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'lib.js',
filename: 'lib.web.js',
libraryTarget: 'umd'
}
};
Expand Down

0 comments on commit d8bc3b9

Please sign in to comment.