GithubHelp home page GithubHelp logo

dengzhifeng / webpack-doc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darrell0904/webpack-doc

0.0 0.0 0.0 21.15 MB

webpack5.0 快出来了,和我一起再系统性的过一遍 webpack4.0吧!!!

webpack-doc's Introduction

安装运行

# clone 项目
git clone [email protected]:darrell0904/webpack-doc.git

# 安装依赖
npm install

# 启动项目
npm run dev

 

写文档的原因

因为现在对于 webpack 的配置了解的不够全面,比较碎片话,同时有些很新的概念一直都没有应用。

这是我写这个文档原因,让自己更加系统全面的掌握 webpack ,毕竟 webpack 5.0 快要来了。

此篇文档的 webpack 的版本是 4.0

 

github 图片出不来?

  • 首先打开 host 文件
sudo vi /etc/hosts
  • 接着添加以下内容
# GitHub Start

192.30.253.112    github.com
192.30.253.119    gist.github.com
199.232.28.133    assets-cdn.github.com
199.232.28.133    raw.githubusercontent.com
199.232.28.133    gist.githubusercontent.com
199.232.28.133    cloud.githubusercontent.com
199.232.28.133    camo.githubusercontent.com
199.232.28.133    avatars0.githubusercontent.com
199.232.28.133    avatars1.githubusercontent.com
199.232.28.133    avatars2.githubusercontent.com
199.232.28.133    avatars3.githubusercontent.com
199.232.28.133    avatars4.githubusercontent.com
199.232.28.133    avatars5.githubusercontent.com
199.232.28.133    avatars6.githubusercontent.com
199.232.28.133    avatars7.githubusercontent.com
199.232.28.133    avatars8.githubusercontent.com

# GitHub End
  • 保存,退出,重新刷新 github 页面

具体原因大家可以参考这篇文章:解决github图片不显示的问题

 

项目截图

整个文档是用 vuepress 搞得,截图如下:

 

项目文章目录

初识 Webpack

 

Webpack 核心概念

 

Webpack 高级概念

 

Webpack 实战配置案例

 

Webpack 性能优化

 

编写可维护 Webpack 构建配置

 

Webpack 底层原理

 

React、Vue框架脚手架配置分析

 

一些实战例子

 

一些补充

 

未完待续。。。

 

文档地址

文档地址:webpack-doc 学习文档

 

参考资料

这里列举了笔者学习 webpack 的主要来源,其余的参考资料我会再每一节发出来。

webpack-doc's People

Contributors

darrell0904 avatar

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.