1
0
Fork 0
mirror of synced 2024-06-30 20:10:54 +12:00

Merge branch 'master' into ci/ignore-merge-commits-on-submodule-checks

This commit is contained in:
Adria Navarro 2024-03-27 15:40:15 +01:00 committed by GitHub
commit 5b55b9f569
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 17 additions and 4 deletions

View file

@ -65,8 +65,7 @@ jobs:
# Run build all the projects
- name: Build
run: |
yarn build
run: yarn build
# Check the types of the projects built via esbuild
- name: Check types
run: |

@ -1 +1 @@
Subproject commit f5b467b6b1c55c48847545db41be7b1c035e167a
Subproject commit 60658a052d2642e5f4a8038e253f771a24f34907

View file

@ -12,6 +12,13 @@ export default {
format: "esm",
file: "dist/bbui.es.js",
},
onwarn(warning, warn) {
// suppress eval warnings
if (warning.code === "EVAL") {
return
}
warn(warning)
},
plugins: [
resolve(),
commonjs(),

View file

@ -45,7 +45,8 @@ export default {
onwarn(warning, warn) {
if (
warning.code === "THIS_IS_UNDEFINED" ||
warning.code === "CIRCULAR_DEPENDENCY"
warning.code === "CIRCULAR_DEPENDENCY" ||
warning.code === "EVAL"
) {
return
}

View file

@ -17,6 +17,12 @@ const config = (format, outputFile) => ({
format,
file: outputFile,
},
onwarn(warning, warn) {
if (warning.code === "EVAL") {
return
}
warn(warning)
},
plugins: [
typescript(),
resolve({