mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Fix metrics pages broken by Yarn 4 migration (#33190)
GitOrigin-RevId: 9bb3462248a16bfab425f6ebc884e9210d872b9c
This commit is contained in:
committed by
Copybot
parent
da11cf2669
commit
9f8e5582d5
@@ -217,19 +217,7 @@ module.exports = {
|
||||
// Compiles Sass to CSS
|
||||
{
|
||||
loader: 'sass-loader',
|
||||
options: {
|
||||
api: 'modern',
|
||||
sourceMap: true, // sourceMap: true is required for resolve-url-loader
|
||||
sassOptions: {
|
||||
silenceDeprecations: [
|
||||
// TODO: import can't be fixed until we switch to bootstrap 6
|
||||
'import',
|
||||
'global-builtin',
|
||||
'color-functions',
|
||||
'if-function',
|
||||
],
|
||||
},
|
||||
},
|
||||
options: { sourceMap: true }, // sourceMap: true is required for resolve-url-loader
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -328,6 +316,9 @@ module.exports = {
|
||||
__dirname,
|
||||
'./modules/writefull/frontend/js/integration/src/'
|
||||
),
|
||||
// Ensure all packages use the same jQuery instance (prevents duplicate
|
||||
// copies from Yarn hoisting breaking jQuery plugins like daterangepicker)
|
||||
jquery: require.resolve('jquery'),
|
||||
},
|
||||
// symlinks: false, // enable this while using `npm link`
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs', '.json'],
|
||||
|
||||
Reference in New Issue
Block a user