[web] Recreate workbench with Overleaf styles (#29651)

GitOrigin-RevId: 52ca336f70b29edf6e39cf95aa164f3ae32c0a79
This commit is contained in:
Mathias Jakobsen
2025-11-19 09:05:14 +00:00
committed by Copybot
parent b1009d3b1f
commit 7b331b0222
16 changed files with 460 additions and 3743 deletions
-21
View File
@@ -10,7 +10,6 @@ const {
const PackageVersions = require('./app/src/infrastructure/PackageVersions.js')
const invalidateBabelCacheIfNeeded = require('./frontend/macros/invalidate-babel-cache-if-needed')
const { dirname } = require('node:path')
// Make sure that babel-macros are re-evaluated after changing the modules config
invalidateBabelCacheIfNeeded()
@@ -259,26 +258,6 @@ module.exports = {
},
],
},
{
// CSS from AI module
include: dirname(require.resolve('@overleaf/ai')),
use: [
{
loader: 'css-loader',
options: {
exportType: 'css-style-sheet',
},
},
{
loader: 'postcss-loader',
options: {
postcssOptions: {
config: require.resolve('@overleaf/ai/postcss.config.js'),
},
},
},
],
},
{
// Standard CSS processing (extracted into separate file)
use: [MiniCssExtractPlugin.loader, 'css-loader'],