Webpack Wepack-dev-server corresponding version

Source: Internet
Author: User
Webpack Wepack-dev-server corresponding version

The cause is the use of Extract-text-webpack-plugin to CSS and JS packaging into error Tapable.plugin is deprecated. Use new API on `.hooks` instead .

Check out the following is originally Webpack version is too high, is currently v4.x.x, so some do not support.

began to webpack down, packing no problem, but later run webpack-dev-server and then a problem, so a webpack-dev-server is V3.1.3, and then also webpack-dev-server to v2.x.x.

Running cnpm run Dev is ok again.

Once again, writing essays really benefits a lot, the brain index is powerful.

Webpack Wepack-dev-server corresponding version

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.