diff --git a/frontend/config/webpack.config.js b/frontend/config/webpack.config.js index 31c01af931..b3da202270 100644 --- a/frontend/config/webpack.config.js +++ b/frontend/config/webpack.config.js @@ -450,9 +450,6 @@ module.exports = function (webpackEnv) { } } ], - issuer: { - and: [/\.(ts|tsx|js|jsx|md|mdx)$/], - }, }, // Process application JS with Babel. // The preset includes JSX, Flow, TypeScript, and some ESnext features. @@ -596,34 +593,6 @@ module.exports = function (webpackEnv) { 'sass-loader' ), }, - // Handle svg icons - { - test: /\.svg$/, - use: [ - { - loader: require.resolve('@svgr/webpack'), - options: { - prettier: false, - svgo: false, - svgoConfig: { - plugins: [{ removeViewBox: false }], - }, - titleProp: true, - ref: true, - }, - }, - { loader: 'svgo-loader', options: { - plugins: [ - 'removeTitle', - 'removeStyleElement', - 'cleanupIDs', - 'inlineStyles', - 'removeXMLProcInst', - ] - } - } - ] - }, // "file" loader makes sure those assets get served by WebpackDevServer. // When you `import` an asset, you get its (virtual) filename. // In production, they would get copied to the `build` folder.