[web] rm unnecessary webpack configuration (#33587)

GitOrigin-RevId: d9f305e59af2585db096a83c4cbd41ba5f785184
This commit is contained in:
Kristina
2026-05-14 08:05:39 +00:00
committed by Copybot
parent bc2f5ae746
commit d8df893593
4 changed files with 3 additions and 52 deletions
-14
View File
@@ -5,9 +5,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin')
const base = require('./webpack.config')
const cypressCacheVariant = require('./frontend/macros/cypress-cache-variant')
const cypressVariant = cypressCacheVariant()
// if WEBPACK_ENTRYPOINTS is defined, remove any entrypoints that aren't included
if (process.env.WEBPACK_ENTRYPOINTS) {
@@ -29,17 +26,6 @@ module.exports = merge(base, {
cache: {
type: 'filesystem',
// Use a unique cache directory per Cypress CT variant to avoid
// parallel jobs corrupting the shared PackFileCacheStrategy pack files.
...(cypressVariant
? {
cacheDirectory: path.resolve(
__dirname,
'node_modules/.cache/webpack',
cypressVariant
),
}
: {}),
buildDependencies: {
config: [
__filename,