diff options
-rw-r--r-- | app/javascript/mastodon/performance.js | 1 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/performance.js b/app/javascript/mastodon/performance.js index 450a90626..2b7e1bda8 100644 --- a/app/javascript/mastodon/performance.js +++ b/app/javascript/mastodon/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'); diff --git a/package.json b/package.json index 0851c838d..cd0ea8335 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,6 @@ "jsdom": "^21.1.1", "lodash": "^4.17.21", "mark-loader": "^0.1.6", - "marky": "^1.2.5", "mini-css-extract-plugin": "^1.6.2", "mkdirp": "^2.1.5", "npmlog": "^7.0.1", @@ -153,6 +152,7 @@ "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "lint-staged": "^13.1.2", + "marky": "^1.2.5", "postcss-scss": "^4.0.6", "prettier": "^2.8.5", "raf": "^3.4.1", |