chore(docs): suppress optional ws dependency warnings (#69341)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: ian.alton@airbyte.io <ian.alton@airbyte.io>
This commit is contained in:
committed by
GitHub
parent
4846a52f60
commit
0a8771ff1f
@@ -359,7 +359,7 @@ const config: Config = {
|
||||
],
|
||||
() => ({
|
||||
name: "Yaml loader",
|
||||
configureWebpack() {
|
||||
configureWebpack(config, isServer) {
|
||||
return {
|
||||
module: {
|
||||
rules: [
|
||||
@@ -373,6 +373,15 @@ const config: Config = {
|
||||
},
|
||||
],
|
||||
},
|
||||
ignoreWarnings: [
|
||||
(warning) => {
|
||||
const msg = String(warning?.message || "");
|
||||
return (
|
||||
/Can't resolve ['"]bufferutil['"]/.test(msg) ||
|
||||
/Can't resolve ['"]utf-8-validate['"]/.test(msg)
|
||||
);
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user