From fdf8c90273c766a18322da79410de85eda42773d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 20 Jan 2022 21:16:46 +0100 Subject: [PATCH] Remove dead code. --- frontend/src/config/webpack.config.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/frontend/src/config/webpack.config.js b/frontend/src/config/webpack.config.js index dc7246364..416cf6f8b 100644 --- a/frontend/src/config/webpack.config.js +++ b/frontend/src/config/webpack.config.js @@ -1,16 +1,3 @@ - -const path = require('path'); - -const appRoot = path.resolve(__dirname, '../..'); - -function root() { - // eslint-disable-next-line prefer-rest-params - const newArgs = Array.prototype.slice.call(arguments, 0); - - // eslint-disable-next-line prefer-spread - return path.join.apply(path, [appRoot].concat(newArgs)); -} - const plugins = { // https://webpack.js.org/plugins/eslint-webpack-plugin/ ESLintPlugin: require('eslint-webpack-plugin'),