Skip to content

Commit

Permalink
Merge pull request #258 from dajiaji/set-side-effect
Browse files Browse the repository at this point in the history
Add sideEffects: false to dnt.ts.
  • Loading branch information
dajiaji authored Aug 15, 2023
2 parents dc8604f + 554fb6b commit f1bb47a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion core/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ await build({
},
homepage: "https://github.com/dajiaji/hpke-js#readme",
license: "MIT",
main: "./esm/core/mod.js",
main: "./script/core/mod.js",
types: "./script/core/mod.d.ts",
types: "./esm/core/mod.d.ts",
sideEffects: false,
exports: {
".": {
"import": "./esm/core/mod.js",
Expand Down
4 changes: 3 additions & 1 deletion dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ await build({
},
homepage: "https://github.com/dajiaji/hpke-js#readme",
license: "MIT",
module: "./esm/mod.js",
main: "./script/mod.js",
types: "./script/mod.d.ts",
types: "./esm/mod.d.ts",
sideEffects: false,
exports: {
".": {
"import": "./esm/mod.js",
Expand Down
4 changes: 3 additions & 1 deletion x/chacha20poly1305/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ await build({
},
homepage: "https://github.com/dajiaji/hpke-js#readme",
license: "MIT",
module: "./esm/x/chacha20poly1305/mod.js",
main: "./script/x/chacha20poly1305/mod.js",
types: "./script/x/chacha20poly1305/mod.d.ts",
types: "./esm/x/chacha20poly1305/mod.d.ts",
sideEffects: false,
exports: {
".": {
"import": "./esm/x/chacha20poly1305/mod.js",
Expand Down
4 changes: 3 additions & 1 deletion x/dhkem-secp256k1/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ await build({
},
homepage: "https://github.com/dajiaji/hpke-js#readme",
license: "MIT",
module: "./esm/x/dhkem-secp256k1/mod.js",
main: "./script/x/dhkem-secp256k1/mod.js",
types: "./script/x/dhkem-secp256k1/mod.d.ts",
types: "./esm/x/dhkem-secp256k1/mod.d.ts",
sideEffects: false,
exports: {
".": {
"import": "./esm/x/dhkem-secp256k1/mod.js",
Expand Down
4 changes: 3 additions & 1 deletion x/dhkem-x25519/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ await build({
},
homepage: "https://github.com/dajiaji/hpke-js#readme",
license: "MIT",
module: "./esm/x/dhkem-x25519/mod.js",
main: "./script/x/dhkem-x25519/mod.js",
types: "./script/x/dhkem-x25519/mod.d.ts",
types: "./esm/x/dhkem-x25519/mod.d.ts",
sideEffects: false,
exports: {
".": {
"import": "./esm/x/dhkem-x25519/mod.js",
Expand Down
4 changes: 3 additions & 1 deletion x/dhkem-x448/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ await build({
},
homepage: "https://github.com/dajiaji/hpke-js#readme",
license: "MIT",
module: "./esm/x/dhkem-x448/mod.js",
main: "./script/x/dhkem-x448/mod.js",
types: "./script/x/dhkem-x448/mod.d.ts",
types: "./esm/x/dhkem-x448/mod.d.ts",
sideEffects: false,
exports: {
".": {
"import": "./esm/x/dhkem-x448/mod.js",
Expand Down

0 comments on commit f1bb47a

Please sign in to comment.