Giter Club home page Giter Club logo

studywebpack's Introduction

webpack的学习

学习的代码来自于:

  1. https://www.webpackjs.com
  2. https://juejin.im

因为webpack4的学习在官方文档中有一些插件被弃用了但是webpack4文档中仍然使用这个插件,切到插件文档想使用新推荐的插件时,首先没有使用经验,其次新推荐的插件文档是英文文档不方便阅读(疯狂吃没文化的亏),所以比较推荐一边看文档一边在论坛找一些帖子来学习webpack

目录:

  1. 基本配置:master分支;
  2. 确认wepack支持三种导入规范: checkImport分支;
  3. 代码分割:codeSplitting;
  4. Lazy Loading/Prefetching:LazyLoadingAndPrefetching;
  5. 自动生成HTML:autoHTML;
  6. 使用Loader:useLoader;
  7. TreeShaking: TreeShaking;
  8. 图片处理: setImg;
  9. 字体处理: useFont;
  10. 提前导入JS和别名 useJSProject;
  11. webpack-dev-server: webpack-dev-server;
  12. 开发和生产模式实战:actualCombat;
  13. 打包自定义函数库:selfFunction;
  14. PWA:PWA;
  15. TypeScript配置:setTs;
  16. Eslint配置:useEslint;
  17. DLL: DLL;
  18. 多页面打包配置: multipage;
  19. 编写loader: writeLoader;
  20. 编写plugins: writePlugins;
  21. 编写bundle: writeBundle;

studywebpack's People

Contributors

chunchunisme avatar

Stargazers

陈坤 avatar  avatar mzn avatar 弹铁蛋 avatar 糖 · 少 avatar

Watchers

James Cloos avatar  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.