Silence webpack warnings (#40756)
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
export { default, ISupportedGraphicNames } from "./FileUploader";
|
export { default } from "./FileUploader";
|
||||||
|
export type { ISupportedGraphicNames } from "./FileUploader";
|
||||||
|
|||||||
@@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user