SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
chore: remove critters-webpack-plugin (#8172)
Amlan Kumar Nandy0acbcf8322fa
diff --git a/frontend/package.json b/frontend/package.jsonindex 8ff8c9c884..596a9e312a 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -197,7 +197,6 @@"babel-plugin-styled-components": "^1.12.0","compression-webpack-plugin": "9.0.0","copy-webpack-plugin": "^11.0.0",- "critters-webpack-plugin": "^3.0.1","eslint": "^7.32.0","eslint-config-airbnb": "^19.0.4","eslint-config-airbnb-typescript": "^16.1.4",diff --git a/frontend/webpack.config.prod.js b/frontend/webpack.config.prod.jsindex 7a78d6bc00..b6ef58f3cd 100644--- a/frontend/webpack.config.prod.js+++ b/frontend/webpack.config.prod.js@@ -13,7 +13,6 @@ const TerserPlugin = require('terser-webpack-plugin');const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');const MiniCssExtractPlugin = require('mini-css-extract-plugin');const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');-const Critters = require('critters-webpack-plugin');const { RetryChunkLoadPlugin } = require('webpack-retry-chunk-load-plugin');dotenv.config();@@ -62,14 +61,6 @@ const plugins = [}),}),new MiniCssExtractPlugin(),- new Critters({- preload: 'swap',- // Base path location of the CSS files- path: resolve(__dirname, './build/css'),- // Public path of the CSS resources. This prefix is removed from the href- publicPath: resolve(__dirname, './public/css'),- fonts: true,- }),sentryWebpackPlugin({authToken: process.env.SENTRY_AUTH_TOKEN,org: process.env.SENTRY_ORG,diff --git a/frontend/yarn.lock b/frontend/yarn.lockindex 575a5d0999..0af08b2883 100644--- a/frontend/yarn.lock+++ b/frontend/yarn.lock@@ -6940,28 +6940,6 @@ create-require@^1.1.0:resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz"integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==-critters-webpack-plugin@^3.0.1:- version "3.0.2"- resolved "https://registry.npmjs.org/critters-webpack-plugin/-/critters-webpack-plugin-3.0.2.tgz"- integrity sha512-WdGtrjfzTGTuLL1qR9yIrPvrF+r4Fq5MsI+hfjuujLRVzh5UOl1TPCdX4kJU12iK5LFHtbNtezcAJCaXpvozHA==- dependencies:- critters "^0.0.16"- minimatch "^3.0.4"- webpack-log "^3.0.1"- webpack-sources "^1.3.0"--critters@^0.0.16:- version "0.0.16"- resolved "https://registry.npmjs.org/critters/-/critters-0.0.16.tgz"- integrity sha512-JwjgmO6i3y6RWtLYmXwO5jMd+maZt8Tnfu7VVISmEWyQqfLpB8soBswf8/2bu6SBXxtKA68Al3c+qIG1ApT68A==- dependencies:- chalk "^4.1.0"- css-select "^4.2.0"- parse5 "^6.0.1"- parse5-htmlparser2-tree-adapter "^6.0.1"- postcss "^8.3.7"- pretty-bytes "^5.3.0"-cross-env@^7.0.3:version "7.0.3"resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"@@ -7039,7 +7017,7 @@ [email protected]:schema-utils "^4.0.1"serialize-javascript "^6.0.1"-css-select@^4.1.3, css-select@^4.2.0:+css-select@^4.1.3:version "4.3.0"resolved "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz"integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==@@ -11853,11 +11831,6 @@ log-update@^4.0.0:slice-ansi "^4.0.0"wrap-ansi "^6.2.0"-loglevelnext@^3.0.1:- version "3.0.1"- resolved "https://registry.npmjs.org/loglevelnext/-/loglevelnext-3.0.1.tgz"- integrity sha512-JpjaJhIN1reaSb26SIxDGtE0uc67gPl19OMVHrr+Ggt6b/Vy60jmCtKgQBrygAH0bhRA2nkxgDvM+8QvR8r0YA==-longest-streak@^3.0.0:version "3.1.0"resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4"@@ -12959,15 +12932,10 @@ [email protected]:dependencies:big-integer "^1.6.16"-nanoid@^2.0.3:- version "2.1.11"- resolved "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz"- integrity sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==-nanoid@^3.3.7:- version "3.3.7"- resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"- integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==+ version "3.3.11"+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b"+ integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==natural-compare@^1.4.0:version "1.4.0"@@ -13667,14 +13635,7 @@ parse-numeric-range@^1.3.0:resolved "https://registry.yarnpkg.com/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz#7c63b61190d61e4d53a1197f0c83c47bb670ffa3"integrity sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==-parse5-htmlparser2-tree-adapter@^6.0.1:- version "6.0.1"- resolved "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz"- integrity sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==- dependencies:- parse5 "^6.0.1"-[email protected], parse5@^6.0.0, parse5@^6.0.1:[email protected], parse5@^6.0.0:version "6.0.1"resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b"integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==@@ -13801,9 +13762,9 @@ phin@^2.9.1, phin@^3.7.1:centra "^2.7.0"picocolors@^1.0.0:- version "1.0.0"- resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz"- integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"+ integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1:version "2.3.1"@@ -14152,7 +14113,7 @@ postcss-value-parser@^4.0.2, postcss-value-parser@^4.1.0, postcss-value-parser@^resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz"integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==[email protected], postcss@^8.0.0, postcss@^8.1.1, postcss@^8.3.7, postcss@^8.4.21, postcss@^8.4.24:[email protected], postcss@^8.0.0, postcss@^8.1.1, postcss@^8.4.21, postcss@^8.4.24:version "8.4.38"resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.38.tgz#b387d533baf2054288e337066d81c6bee9db9e0e"integrity sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==@@ -14218,11 +14179,6 @@ prettier@^2.6.2:resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==-pretty-bytes@^5.3.0:- version "5.6.0"- resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"- integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==-pretty-error@^4.0.0:version "4.0.0"resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6"@@ -16153,20 +16109,15 @@ sort-object@^0.3.2:sort-asc "^0.1.0"sort-desc "^0.1.1"-source-list-map@^2.0.0:- version "2.0.1"- resolved "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz"- integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==-"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.1, source-map-js@^1.0.2:version "1.0.2"resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz"integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==source-map-js@^1.2.0:- version "1.2.0"- resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af"- integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"+ integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==source-map-support@^0.5.6, source-map-support@~0.5.20:version "0.5.21"@@ -17846,15 +17797,6 @@ webpack-dev-server@*, webpack-dev-server@^5.2.1:webpack-dev-middleware "^7.4.2"ws "^8.18.0"-webpack-log@^3.0.1:- version "3.0.2"- resolved "https://registry.npmjs.org/webpack-log/-/webpack-log-3.0.2.tgz"- integrity sha512-ijm2zgqTY2omtlxRNrtDqxAQOrfAGMxWg9fQB/kuFSeZjx/OkYnfYLqsjf/JkrWOHINMzqxaJDXaog6Mx9KaHg==- dependencies:- chalk "^2.4.2"- loglevelnext "^3.0.1"- nanoid "^2.0.3"-webpack-merge@^5.7.3:version "5.8.0"resolved "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz"@@ -17870,14 +17812,6 @@ [email protected]:dependencies:prettier "^2.6.2"-webpack-sources@^1.3.0:- version "1.4.3"- resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz"- integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==- dependencies:- source-list-map "^2.0.0"- source-map "~0.6.1"-webpack-sources@^3.2.3:version "3.2.3"resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz"