~cytrogen/masto-fe

ddb769f0b84d4bcff22472f236a4ec74c631d0a6 — Nick Schonning 3 years ago c0e87ad
Move marky to devDependency (#24258)

2 files changed, 2 insertions(+), 1 deletions(-)

M app/javascript/mastodon/performance.js
M package.json
M app/javascript/mastodon/performance.js => app/javascript/mastodon/performance.js +1 -0
@@ 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');

M package.json => package.json +1 -1
@@ 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",