GithubHelp home page GithubHelp logo

bumping the babel-plugin-styled-components to 2.0.5 make a regression in performance inside our tests about babel-plugin-styled-components HOT 6 CLOSED

daniloab avatar daniloab commented on May 18, 2024 3
bumping the babel-plugin-styled-components to 2.0.5 make a regression in performance inside our tests

from babel-plugin-styled-components.

Comments (6)

janicduplessis avatar janicduplessis commented on May 18, 2024 5

I'm also seeing a major perf regression of my website build after bumping to 2.0.5, 2.0.4 is fine. At runtime I also get a _styled is not defined error. From inspecting the code it seems like the styled component import is not added automatically.

from babel-plugin-styled-components.

 avatar commented on May 18, 2024 2

I have the same problem here, but with the NextJS build.
It used to be 3 minutes (with 2.0.3) and now it takes over 20 minutes (2.0.5).

from babel-plugin-styled-components.

jordan-brough avatar jordan-brough commented on May 18, 2024 1

Thanks. v2.0.6 seems to have fixed the issues we were seeing. 👍

from babel-plugin-styled-components.

jordan-brough avatar jordan-brough commented on May 18, 2024

We're seeing build times increase so much that automated builds are timing out if we try to update from 2.0.3 to 2.0.5.

from babel-plugin-styled-components.

quantizor avatar quantizor commented on May 18, 2024

Thank you, I'm going to revert the last change. Is 2.0.4 as bad or just 2.0.5?

from babel-plugin-styled-components.

quantizor avatar quantizor commented on May 18, 2024

I have reverted the change from 2.0.5: https://github.com/styled-components/babel-plugin-styled-components/releases/tag/v2.0.6

from babel-plugin-styled-components.

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.