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
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -1 +1,2 @@
export { default, ISupportedGraphicNames } from "./FileUploader"; export { default } from "./FileUploader";
export type { ISupportedGraphicNames } from "./FileUploader";
+11
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"],