Giter Site home page Giter Site logo

minipack-explain's Introduction

📦minipack explain translate-svg

用javascript编写的现代模块打包器的简化示例

这是一篇 翻译{Translations}

github source

介绍

作为前端开发人员,我们花费大量时间处理类似的工具像 WebPack,Browserify, 和Parcel.

了解这些工具的工作方式可以帮助我们更好地决定如何编写代码. 通过理解我们的代码如何转化为一个包以及该包的外观如何,我们也可以更好地进行调试.

这个项目的目的是解释大多数捆绑商如何在隐藏条件下工作. 它包含简化但仍然合理准确的捆绑器的简短实现. 与代码一起,有评论解释代码试图实现什么.

尝试运行代码

首先安装依赖关系:

$ npm install

然后运行我们的脚本:

$ node src/minipack.js

酷啊,我从哪里开始?

两种方式

  1. 前往源代码: src/minipack.js.

  2. 将代码注释, 拿出来解释explain.md

额外的链接

生活

help me live , live need money 💰

More

更多其他中文翻译

minipack-explain's People

Contributors

chinanf-boy avatar stonehank avatar

Watchers

bob Q 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.