Skip to content

Commit

Permalink
fix: server package is cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyynthia committed Apr 26, 2023
1 parent 93351d3 commit 741a995
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ _fix-package-json:

// Fix package.json
clientPackage = clientPackage.replace('"main"', '"type": "module",\n "main"')
serverPackage = serverPackage.replace('"main"', '"type": "module",\n "main"')
// serverPackage = serverPackage.replace('"main"', '"type": "module",\n "main"')

writeFileSync('client/pkg/package.json', clientPackage)
writeFileSync('server/pkg/package.json', serverPackage)
Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opaque-wasm-server"
version = "0.1.1"
version = "0.1.2"
authors = ["Cynthia <[email protected]>"]
repository = "https://github.com/squirrelchat/opaque-wasm"
description = "WebAssembly wrapper for facebook/opaque-ke (server-side)"
Expand Down

0 comments on commit 741a995

Please sign in to comment.