Giter VIP home page Giter VIP logo

rollupjs-note's Introduction

Rollup.js 实战学习笔记

前言

最近几个月自己开发一些js库或组件库,费了九牛二虎之力搭建了webpack脚手架,然后还要配置一堆loader,最后编译出来的代码还夹带了一堆webpackJsonp([0], .....) 的代码,使得编译后的ES5代码(未混淆)可读性降低了,也导致了结果代码体积增大。

在寻找新的编译工具时候,发现Vue.jsReact.js等流行库的源码都用了rollup.js来编译代码,同时相关库的编译也输出了各种模块规范AMDCommonJSUMDIIFE。因此选择了rollup.js来实践开发日常的工具,在玩了几个月的的rollup.js后,将学习的过程中记录成这本书,也沉淀了学习过程中的demo,方便以后搭建脚手架时候查看。

关于本书

更多前端技术学习开源学习教程可关注公众号 DeepSeaCode (大海码 )

qrcode_for_gh_959d1c4d729a_258


目录

rollupjs-note's People

Contributors

chenshenhai avatar

Watchers

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