From a8f0592b72829b840e188b7ee8c0e56b41e6d5c6 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 27 Mar 2023 10:11:45 -0400 Subject: [PATCH] [Glitch] Move marky to devDependency Port ddb769f0b84d4bcff22472f236a4ec74c631d0a6 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/performance.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/flavours/glitch/performance.js b/app/javascript/flavours/glitch/performance.js index 450a90626e..2b7e1bda84 100644 --- a/app/javascript/flavours/glitch/performance.js +++ b/app/javascript/flavours/glitch/performance.js @@ -12,6 +12,7 @@ if (process.env.NODE_ENV === 'development') { // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1331135 performance.setResourceTimingBufferSize(Infinity); } + // eslint-disable-next-line import/no-extraneous-dependencies marky = require('marky'); // allows us to easily do e.g. ReactPerf.printWasted() while debugging //window.ReactPerf = require('react-addons-perf');