fix: publishing issue of noise-js example (#196)

* change build directory name

* ignore build folder

* publish noise example as built one
This commit is contained in:
Sasha 2023-01-26 18:25:02 +01:00 committed by GitHub
parent 18dd58593b
commit 8d0f703593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
dist
build
node_modules
yarn.lock

2
ci/Jenkinsfile vendored
View File

@ -39,6 +39,7 @@ pipeline {
stage('relay-reactjs-chat') { steps { script { buildExample() } } }
stage('store-reactjs-chat') { steps { script { buildExample() } } }
stage('web-chat') { steps { script { buildExample() } } }
stage('noise-js') { steps { script { buildExample() } } }
}
}
@ -49,7 +50,6 @@ pipeline {
stage('light-js') { steps { script { copyExample() } } }
stage('rln-js') { steps { script { copyExample() } } }
stage('light-chat') { steps { script { copyExample() } } }
stage('noise-js') { steps { script { copyExample() } } }
}
}

View File

@ -4,7 +4,7 @@ const path = require("path");
module.exports = {
entry: "./index.js",
output: {
path: path.resolve(__dirname, "dist"),
path: path.resolve(__dirname, "build"),
filename: "index.js",
},
experiments: {