Git Product home page Git Product logo

Comments (3)

ijlee2 avatar ijlee2 commented on May 23, 2024

@jelhan Thanks for reporting the rather large increase in bundle size. I'm surprised because I removed two dependencies in 6.2.0, and npm shows a decrease in the number of files and in the unpacked size by 5kB.

I can think of a couple of possibilities:

  • The dependencies updated in #1797
  • The refactoring in #1798 (removing a base function to fix TS errors and improve code readability)

The latter has to do with test helpers, which shouldn't affect the production build. To check the former, can you use npm overrides to pin the ember-intl's dependencies to the latest version?

(@formatjs/intl showed a difference in unpacked size between 2.9.6 and 2.9.8, but their release notes didn't clearly indicate what changed. intl-messageformat showed an even larger difference between 10.5.5 and 10.5.7.)

from ember-intl.

ijlee2 avatar ijlee2 commented on May 23, 2024

Hi, @jelhan. Have you had a chance to look at updating @formatjs/* and intl-messageformat to the latest, to see if this reduces the bundle size?

Update: Please try updating ember-intl to v6.2.2.

from ember-intl.

jelhan avatar jelhan commented on May 23, 2024

Please try updating ember-intl to v6.2.2.

v6.2.2 fixed it. CI passed, which failed for bundle size check before. Thanks a lot for fixing!

from ember-intl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.