GithubHelp home page GithubHelp logo

hhy5277 / webpack-best-practice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaoyann/webpack-best-practice

0.0 1.0 0.0 2.06 MB

🏁 Webpack 最佳实践,理解每个关键点,灵活应对各种工程需求,自定义构建方案

License: MIT License

JavaScript 81.20% CSS 4.92% HTML 11.37% Vue 1.69% Smarty 0.82%

webpack-best-practice's Introduction

About this repo

这个项目本来是 2016 年写的一篇《使用 webpack + react + redux + es6 开发组件化前端项目》 的代码示例,已保存到 v1.0.0 分支作为存档。

现在 webpack 已经从当时的 v1.13.0 发展到了 v3.8.0,改进了不少,相关的配置方式也有所改变。这一年多无论是多页的 PC 端项目,还是移动端的单页应用,都是使用的 webpack。遇到过一些问题,也研究过一些解决方案,是应该好好总结一下了。

本项目中的文章会围绕单页应用与多页应用展开,下面是对应的代码示例:

Articles

  • 《从前端工程角度理解 Webpack》
  • 《如何灵活拆分 CSS 文件?》
  • 《如何快速实现一个简单却实用的数据 Mock 方案?》
  • 《多页应用的构建方案如何设计?》
  • 《如何提高大型项目的构建速度?》

......

License

该项目中所有文章采用 署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可 。

webpack-best-practice's People

Contributors

shouya avatar xiaoyann avatar

Watchers

 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.