[Glitch] Move marky to devDependency

Port ddb769f0b8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
local
Nick Schonning 1 year ago committed by Claire
parent 4aaa1772b6
commit a8f0592b72
  1. 1
      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');

Loading…
Cancel
Save