mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
bump deps
* bump @cyclonedx/webpack-plugin to 5.0.1 * only breaking change was dropping support for old node * bump webpack-dev-server to 5.2.2 * misc config changes; followed [migration guide](https://github.com/webpack/webpack-dev-server/blob/master/migration-v5.md) * also configured `performance: { hints: false }` to get rid of warning about asset/entrypoint sizes * bump webpack-cli to 6.0.1 * breaking changes were meh https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md#600-2024-12-19 * general `pnpm up`
This commit is contained in:
parent
8ff9b9650a
commit
c9a8e15bd8
3 changed files with 6378 additions and 4521 deletions
|
@ -140,6 +140,10 @@ const config = {
|
|||
}
|
||||
},
|
||||
|
||||
performance: {
|
||||
hints: false,
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new CycloneDxWebpackPlugin({
|
||||
specVersion: '1.6',
|
||||
|
@ -317,7 +321,6 @@ if ( DEV_SERVER )
|
|||
config.devServer = {
|
||||
client: false,
|
||||
webSocketServer: false,
|
||||
magicHtml: false,
|
||||
liveReload: false,
|
||||
hot: false,
|
||||
|
||||
|
@ -338,12 +341,13 @@ if ( DEV_SERVER )
|
|||
publicPath: '/script/',
|
||||
},
|
||||
|
||||
proxy: {
|
||||
'**': {
|
||||
proxy: [
|
||||
{
|
||||
context: ['**'],
|
||||
target: 'https://cdn2.frankerfacez.com/',
|
||||
changeOrigin: true
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
setupMiddlewares: (middlewares, devServer) => {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue