Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nimoc/webpack-book

webpack 入门指南
https://github.com/nimoc/webpack-book

Last synced: 14 days ago
JSON representation

webpack 入门指南

Awesome Lists containing this project

README

        

webpack 入门指南
===========

webpack 是基于 node 的模块打包工具,可以让使用者以 [CommonJS](http://javascript.ruanyifeng.com/nodejs/module.html#toc0) 或 [ES6 Module](http://es6.ruanyifeng.com/#docs/module) 语法编写JS代码,最终构建成可在浏览器运行的代码。

> 如果你不了解前端构建可以先看看 [gulp 入门指南](https://github.com/onface/gulp-book#gulp-入门指南)

点击右上角的 **[Watch](https://github.com/onface/webpack-book/subscription)** 订阅本书,点击 Star 收藏本书。[访问论坛](https://github.com/onface/webpack-book/issues)

**目录**

1. [模块化开发](./1-modules/)-----------------------[Preview](http://onface.github.io/webpack-book/1-modules/)
2. [JS包含样式](./2-style/)-----------------------[Preview](http://onface.github.io/webpack-book/2-style/)
3. [JS包含图片](./3-url-loader)-----------------------[Preview](http://onface.github.io/webpack-book/3-url-loader/)
4. [使用全局变量](./4-externals)---------------------[Preview](http://onface.github.io/webpack-book/4-externals/)
5. [暴露全局变量](./5-expose)---------------------[Preview](http://onface.github.io/webpack-book/5-expose/)
6. [提取单独样式文件](./6-extract-text)-----------------[Preview](http://onface.github.io/webpack-book/6-extract-text/)
7. [自动打包公用资源](./7-commonschunk)-----------------[Preview](http://onface.github.io/webpack-book/7-commonschunk/)
8. [文件指纹Hash](./8-hash)-------------------[Preview](http://onface.github.io/webpack-book/8-hash/)
9. [异步加载](./9-ensure)-------------------[Preview](http://onface.github.io/webpack-book/9-ensure/)

**[webpack使用建议](./propose.md)**