Silence webpack warnings (#40756)

This commit is contained in:
Luke Heath 2026-03-10 12:29:11 -05:00 committed by GitHub
parent 82355473f8
commit 0172a82b81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View file

@ -1 +1,2 @@
export { default, ISupportedGraphicNames } from "./FileUploader"; export { default } from "./FileUploader";
export type { ISupportedGraphicNames } from "./FileUploader";

View file

@ -107,6 +107,14 @@ const config = {
sassOptions: { sassOptions: {
includePaths: bourbon, includePaths: bourbon,
importer: globImporter(), importer: globImporter(),
silenceDeprecations: [
"import",
"global-builtin",
"slash-div",
"color-functions",
"mixed-decls",
"legacy-js-api",
],
}, },
}, },
}, },
@ -130,6 +138,9 @@ const config = {
}, },
], ],
}, },
performance: {
hints: false,
},
resolve: { resolve: {
extensions: [".tsx", ".ts", ".js", ".jsx", ".json"], extensions: [".tsx", ".ts", ".js", ".jsx", ".json"],
modules: [path.resolve(path.join(repo, "./frontend")), "node_modules"], modules: [path.resolve(path.join(repo, "./frontend")), "node_modules"],