mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Silence webpack warnings (#40756)
This commit is contained in:
parent
82355473f8
commit
0172a82b81
2 changed files with 13 additions and 1 deletions
|
|
@ -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"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue