Giter VIP home page Giter VIP logo

Comments (13)

vvo avatar vvo commented on May 15, 2024 3

State:
The stub link you gave is no more working.
The current guide on performance is full of TODOS.

Some more info:

It seems in the webpack community people are using a mix of:

Happy perf! :)

from webpack.js.org.

yuridevx avatar yuridevx commented on May 15, 2024

Brunch, for example, claims that they use caching and process only those files that were not changed. In addition to that I know that gulp if configured properly will process only changed files rather then reprocess all of the files in a glob pattern. When I've read webpack documentation I had no idea on how could I structure my build so it will be fast. Does it somehow optimize one .less file that includes all smaller once? etc...
In other words what are the best practices for fast builds in complex setups like typescript->es6->traceur-> webpack2 for tree-shacking. Or less->css->styles (with possible hot reload?)
Is there anything on this topic?

from webpack.js.org.

yuridevx avatar yuridevx commented on May 15, 2024

And what about different linting tools in the loader chain? How does that affect overall build/rebuild performance.
Is it better to not include them there at all?
Some time measurements would be cool in performance docs I think.

from webpack.js.org.

bebraw avatar bebraw commented on May 15, 2024

Great ideas and topics to study. Thanks!

from webpack.js.org.

yuridevx avatar yuridevx commented on May 15, 2024

@bebraw I'm looking forward to become an open source participant. I would like to contribute perhaps I could do some kind of investigation and write about it.
The challenge is I'm new to the open source world as well as I'm new to the English documentation writing (not native speaker). Is there any way I might be helpful? If yes then could you give me advice on how to start with webpack docs?

from webpack.js.org.

bebraw avatar bebraw commented on May 15, 2024

@yuridevx Language won't be an issue as long as the content is solid and well researched. If you can comment around at the issues and help to craft outlines, that would help quite a bit. We'll be developing the content based on this work.

I hope to make another, more focused blog post in two weeks after the direction is clearer and there's a site prototype to show.

from webpack.js.org.

bebraw avatar bebraw commented on May 15, 2024

To quote @mover96 from #46.

Here is a great write up on a lot of the features of the DLL Plugin (I cannot figure out how to anchor to specific posts on bountysource, but it's near the bottom)

https://www.bountysource.com/issues/28615391-webpack-incremental-builds-are-slow

The biggest point for me is that it cannot be used with CommonChunksPlugin, but there is a lot of good information in the post as well!

Disclaimer: This is my first time submitting to webpack.io, let me know if there are certain conventions I should be following!

from webpack.js.org.

skipjack avatar skipjack commented on May 15, 2024

@vvo good catch -- I updated the link in that comment. By any chance would you be interested in taking a stab at completing that guide?

from webpack.js.org.

skipjack avatar skipjack commented on May 15, 2024

@bebraw those links in @vvo's comment and the slideshare are a good start... do you have anything on SurviveJS already that deals with build performance? Maybe between that and the other information here we'd have a good start. #1337 removes the current stub as it's still all TODOs and makes our current review a bit easier but there's a few ideas there as well (if you view the history).

I'm not familiar enough with these optimizations to pick this up myself atm, so it would be great if someone else could dig into this!

from webpack.js.org.

bebraw avatar bebraw commented on May 15, 2024

@skipjack I have one chapter on the topic.

from webpack.js.org.

skipjack avatar skipjack commented on May 15, 2024

Ok great, I added the Help Wanted tag... hopefully someone sees it and has time to pick this up!

from webpack.js.org.

vvo avatar vvo commented on May 15, 2024

(if anyone starts this, please put a comment as I might do it "at some point")

from webpack.js.org.

skipjack avatar skipjack commented on May 15, 2024

Closing thanks to @sokra with #1506 merged! 🎉 🎉

@vvo sorry I don't think he noticed this comment but please feel free to submit any follow up PRs if there's more content you think can be added or things that could be elaborated.

from webpack.js.org.

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.