Change exported name to waku for UMD and CJS

This commit is contained in:
Franck Royer 2022-06-16 17:03:49 +10:00
parent 7432aaca25
commit b32246fa0a
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ export default {
output: { output: {
file: "dist/cjs/index.cjs", file: "dist/cjs/index.cjs",
format: "cjs", format: "cjs",
name: "waku",
}, },
plugins: [ plugins: [
commonjs(), commonjs(),

View File

@ -7,7 +7,7 @@ export default {
output: { output: {
file: "dist/umd/index.js", file: "dist/umd/index.js",
format: "umd", format: "umd",
name: "jswaku", name: "waku",
}, },
plugins: [ plugins: [
commonjs(), commonjs(),