Skip to content

Merge the next branch #1993

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

Merged
merged 46 commits into from
Apr 7, 2018
Merged

Merge the next branch #1993

merged 46 commits into from
Apr 7, 2018

Conversation

dhruvdutt
Copy link
Member

No description provided.

MagicDuck and others added 30 commits February 6, 2018 23:19
This moves some of the content from `compiler.md` and brings it into the
main node api documentation in order to allow `compiler.md` to become
`compiler-hooks.md` which fits better in the context of plugins.
…le.md`

This moves some of the `Tapable` discussion to the lead-in `plugins.md` to
prevent doc duplication. Instead of redocumenting the `tapable` package, we
should focus on improving the README and simply link to there throughout
our docs. As I've mentioned before, we can also create a "Utilities" section
for things other than "Loaders" and "Plugins" that we want to dynamically
pull in.
These guides were full of todos and probably lead to more confusion
than clarity. We can discuss more and add them back in once there's
a clear flow for how to incorporate and document them.
This page now focuses specifically on the `hooks` as all the non-plugin related
content was moved to `node.md`. I updated the hooks to the new syntax, added
all undocumented hooks, reformatted each hook as a section to allow more
breathing room, and clarified exactly which `tapable` hook is used for each
section. Still need to get more info on some of the new hooks before we can
ship this...
This page now uses the same section setup as `compiler-hooks.md` and
is up to date with the latest hooks available in the webpack 4 alpha release.
Improve lead-in to give a little more context on what the parser does. Add
the latest hooks and use the same layout as the other pages in the section.
Updates the Get Started guide to use webpack 4 and adds some additional information about npm.
Update the plugins page in the concepts section to be compatible with webpack 4. Also adds a note about referencing the plugin name in camel-case when calling the `tap` method.
This adds the `builtAt` option to the example configuration.
This adds valid doctypes to all the HTML examples in the Get Started guide.
This adds a table of config options for v4 to the API documentation.
This updates the Concepts page to facilitate webpack v4's options and changes.
quantizor and others added 14 commits March 15, 2018 02:07
update tree shaking guide for webpack 4
* chore: clean package-lock.json

* chore: sync yarn.lock
* Update gitignore

* Resolve conflicts

* Resolve conflicts
1) Webpack as default build to file main.js , not on bundle.js. 
2) Add npm install webpack-cli -D to npm install, If you do not do this console throw next: 
======================================================
The CLI moved into a separate package: webpack-cli.
Please install 'webpack-cli' in addition to webpack itself to use the CLI.
-> When using npm: npm install webpack-cli -D
-> When using yarn: yarn add webpack-cli -D
======================================================
So pls fix this, thank`s.
* docs(configuration) Update snippets to comply with webpack v4+

* Expand mode for more info
npm install --save-dev webpack
=======
>>>>>>> master
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@montogeek Watch out. 🔴

@dhruvdutt dhruvdutt closed this Apr 6, 2018
@dhruvdutt dhruvdutt reopened this Apr 6, 2018
@montogeek montogeek merged commit 9814486 into master Apr 7, 2018
Munter added a commit that referenced this pull request Apr 9, 2018
* origin/master:
  docs(configuration) Add space above comments (#1997)
  docs(): Merge the next branch (#1993)
  docs(api): Add -o to command (#1995)
  docs(configuration) Fixed an a/an error in `/configuration/module` (#1990)
  docs(guides) Changing the output file to `main.js` (#1951)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.