discourse/app/assets/javascripts/float-kit
David Taylor 0f4520867b
DEV: `@babel/plugin-proposal-decorators` -> `decorator-transforms` (#25290)
decorator-transforms (https://github.com/ef4/decorator-transforms) is a modern replacement for babel's plugin-proposal-decorators. It provides a decorator implementation using modern browser features, without needing to enable babel's full suite of class feature transformations. This improves the developer experience and performance.

In local testing with Google's 'tachometer' tool, this reduces Discourse's 'init-to-render' time by around 3-4% (230ms -> 222ms).

It reduces our initial gzip'd JS payloads by 3.2% (2.43MB -> 2.35MB), or 7.5% (14.5MB -> 13.4MB) uncompressed.
2024-05-08 10:40:51 +01:00
..
addon DEV: implements <DropdownMenu /> (#26917) 2024-05-08 09:08:42 +02:00
app DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
.npmrc DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
ember-cli-build.js DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
index.js DEV: `@babel/plugin-proposal-decorators` -> `decorator-transforms` (#25290) 2024-05-08 10:40:51 +01:00
package.json Build(deps-dev): Bump @types/jquery in the types group (#26918) 2024-05-08 10:40:14 +02:00