this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Upgrade vite-plugin-remove-console

Includes all other console.* methods too

+11 -9
+7 -7
package-lock.json
··· 43 43 "vite-plugin-html-config": "~1.0.11", 44 44 "vite-plugin-html-env": "~1.2.7", 45 45 "vite-plugin-pwa": "~0.14.4", 46 - "vite-plugin-remove-console": "~1.3.0", 46 + "vite-plugin-remove-console": "~2.0.0", 47 47 "workbox-cacheable-response": "~6.5.4", 48 48 "workbox-expiration": "~6.5.4", 49 49 "workbox-routing": "~6.5.4", ··· 6699 6699 } 6700 6700 }, 6701 6701 "node_modules/vite-plugin-remove-console": { 6702 - "version": "1.3.0", 6703 - "resolved": "https://registry.npmjs.org/vite-plugin-remove-console/-/vite-plugin-remove-console-1.3.0.tgz", 6704 - "integrity": "sha512-5a/OLYB6yNRHMuHj9rBQRYMQ1NBKffxA8BaD77urUBLcGOWMHFHALjh6C26wZfZd41KytSwLp6DhvNKU78mNJg==", 6702 + "version": "2.0.0", 6703 + "resolved": "https://registry.npmjs.org/vite-plugin-remove-console/-/vite-plugin-remove-console-2.0.0.tgz", 6704 + "integrity": "sha512-bEsyShSacsunbm0X1zaVliwgmWlsaBPLk7FN4wr2xQMs8zSZPSwpRNTT5UZiF0+cfMEkN4VVnofITawmT3pjgQ==", 6705 6705 "dev": true 6706 6706 }, 6707 6707 "node_modules/webidl-conversions": { ··· 11587 11587 } 11588 11588 }, 11589 11589 "vite-plugin-remove-console": { 11590 - "version": "1.3.0", 11591 - "resolved": "https://registry.npmjs.org/vite-plugin-remove-console/-/vite-plugin-remove-console-1.3.0.tgz", 11592 - "integrity": "sha512-5a/OLYB6yNRHMuHj9rBQRYMQ1NBKffxA8BaD77urUBLcGOWMHFHALjh6C26wZfZd41KytSwLp6DhvNKU78mNJg==", 11590 + "version": "2.0.0", 11591 + "resolved": "https://registry.npmjs.org/vite-plugin-remove-console/-/vite-plugin-remove-console-2.0.0.tgz", 11592 + "integrity": "sha512-bEsyShSacsunbm0X1zaVliwgmWlsaBPLk7FN4wr2xQMs8zSZPSwpRNTT5UZiF0+cfMEkN4VVnofITawmT3pjgQ==", 11593 11593 "dev": true 11594 11594 }, 11595 11595 "webidl-conversions": {
+1 -1
package.json
··· 45 45 "vite-plugin-html-config": "~1.0.11", 46 46 "vite-plugin-html-env": "~1.2.7", 47 47 "vite-plugin-pwa": "~0.14.4", 48 - "vite-plugin-remove-console": "~1.3.0", 48 + "vite-plugin-remove-console": "~2.0.0", 49 49 "workbox-cacheable-response": "~6.5.4", 50 50 "workbox-expiration": "~6.5.4", 51 51 "workbox-routing": "~6.5.4",
+3 -1
vite.config.js
··· 30 30 preact(), 31 31 splitVendorChunkPlugin(), 32 32 VitePluginHtmlEnv(), 33 - removeConsole(), 33 + removeConsole({ 34 + includes: ['log', 'debug', 'info', 'warn', 'error'], 35 + }), 34 36 htmlPlugin({ 35 37 headScripts: ERROR_LOGGING ? [rollbarCode] : [], 36 38 }),