Coder Social home page Coder Social logo

Bundle size about leerob.io HOT 3 CLOSED

leerob avatar leerob commented on May 13, 2024
Bundle size

from leerob.io.

Comments (3)

leerob avatar leerob commented on May 13, 2024 1

Was not able to confirm this, bundle size remains the same for what's on main currently and when I updated to next@latest 👍

from leerob.io.

leerob avatar leerob commented on May 13, 2024

Which release?

from leerob.io.

omaralsoudanii avatar omaralsoudanii commented on May 13, 2024

Hi @leerob

I'm probably mistaken. Looking at previous deployments next was generating more chunks on page load, e.g: common.js

Now I think it just put everything in a file called main.js which is the largest (85kb without cache)

since it seems it has nextjs core and other deps you have.

The weird thing is I've been using your trick to alias react to preact on the client side and the site was detected as preact instead of react .

( I use a browser extension called wappalyzer, not accurate 100% but it gives you some info)

Now it's actually being detected as React.

To be honest with caching it doesn't matter in terms of load, I was just curious about the alias behaviour and if it might have changed in the new webpack.

from leerob.io.

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.