diff --git a/frontend/components/FileUploader/index.ts b/frontend/components/FileUploader/index.ts index 411a6b4bde..b56068b2a8 100644 --- a/frontend/components/FileUploader/index.ts +++ b/frontend/components/FileUploader/index.ts @@ -1 +1,2 @@ -export { default, ISupportedGraphicNames } from "./FileUploader"; +export { default } from "./FileUploader"; +export type { ISupportedGraphicNames } from "./FileUploader"; diff --git a/webpack.config.js b/webpack.config.js index fe08c0b3a0..42f56113f4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -107,6 +107,14 @@ const config = { sassOptions: { includePaths: bourbon, 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: { extensions: [".tsx", ".ts", ".js", ".jsx", ".json"], modules: [path.resolve(path.join(repo, "./frontend")), "node_modules"],