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 # Run build all the projects
- name: Build - name: Build
run: | run: yarn build
yarn build
# Check the types of the projects built via esbuild # Check the types of the projects built via esbuild
- name: Check types - name: Check types
run: | run: |

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

View File

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

View File

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

View File

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