Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide - 10 Minute Introduction #29

Closed
bebraw opened this issue Jul 2, 2016 · 3 comments
Closed

Guide - 10 Minute Introduction #29

bebraw opened this issue Jul 2, 2016 · 3 comments

Comments

@bebraw
Copy link
Contributor

bebraw commented Jul 2, 2016

Stub.

Feel free to comment here if you have ideas on what this guide should cover. Link to potential resources too.

@bebraw bebraw modified the milestone: Webpack 2 - Documentation MVP Jul 10, 2016
@logaretm
Copy link

logaretm commented Jul 14, 2016

Maybe it should cover:

  • What is Webpack? (in a small paragraph)
  • Establishing Mindset (JavaScript file as entry point) or how it works at its highest levels, some colleagues had issues understanding how it works since they were using gulp.
  • Files and Loaders (in two or three lines).

Then move on to a small example:

  • Installation.
  • Basic html page with an entry point, that just logs something or manipulates an element using jQuery.
  • Bundling the JS files.
  • Extracting chunks (like vendor) with CommonsChunk plugin.
  • Adding CSS (css loader and style loader).
  • Adding static resources like an image (file/url loader).
  • Optimization (Uglify, Clean).
  • HMR.

probably that would be somewhat enough to get used to most of Webpack concepts at a high level. I'm not sure if its too short or a bit long.

Probably some short version of this post.

@bebraw
Copy link
Contributor Author

bebraw commented Jul 14, 2016

Good ideas. We can likely defer some of those Then move on to a small example: bits to specific "how tos" assuming we follow that kind of structure. It's more than ten minutes of effort then, but that doesn't hurt.

The main goal of this article is to help the user to go from level zero to level one after all and even guide to the documentation so the person knows how to use it effectively.

We can link to external "getting started" guides at the end.

@bebraw
Copy link
Contributor Author

bebraw commented Jul 24, 2016

I'm merging this with #15. We need just one good intro to the topic. The rest of the documentation supports that. I'll move your synopsis there so we don't lose it.

@bebraw bebraw closed this as completed Jul 24, 2016
dear-lizhihua added a commit to docschina/webpack.js.org that referenced this issue Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants