Skip to content

Commit

Permalink
冗余数据清理
Browse files Browse the repository at this point in the history
  • Loading branch information
csxiaoyaojianxian committed Sep 6, 2017
1 parent b9eeedd commit 5671914
Show file tree
Hide file tree
Showing 15,450 changed files with 42 additions and 1,499,822 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
#/// MacOS
#
.DS_Store

#
#/// Windows
#
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/
node_modules
build

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

*.sublime-project
*.sublime-workspace
npm-debug.log
Binary file removed 04-常用功能/04-websocket/pic/01.jpg
Binary file not shown.
Binary file removed 04-常用功能/04-websocket/pic/mobile.psd
Binary file not shown.
Binary file removed 04-常用功能/04-websocket/pic/mobile01.jpg
Binary file not shown.
Binary file removed 04-常用功能/04-websocket/pic/mobile02.jpg
Binary file not shown.
Binary file removed 04-常用功能/04-websocket/pic/智能客服.psd
Binary file not shown.
Binary file removed 04-常用功能/04-websocket/pic/智能客服01.jpg
Binary file not shown.
Binary file removed 04-常用功能/04-websocket/pic/智能客服02.jpg
Binary file not shown.
60 changes: 0 additions & 60 deletions 04-常用功能/04-websocket/小智客服设计.md

This file was deleted.

12 changes: 9 additions & 3 deletions 09-Tools/01-webpack/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Webpack学习总结

[toc]
[TOC]

> 本文所有代码均已经在 macos 和 windows 中实践,并注明了系统的差异
## 1. Webpack 与 Gulp / Grunt 对比

Expand Down Expand Up @@ -361,8 +363,6 @@ module.exports = {
}
```

到目前为止,我们已经知道了,对于模块,Webpack能提供非常强大的处理功能,那那些是模块呢。

#### 4.3.3 实例3:配置 css-loader & style-loader

webpack提供两个工具处理样式表,`css-loader`使开发者能够使用类似`@import``url(...)`的方法实现 `require()`的功能,`style-loader`将所有的计算后的样式加入页面中,二者组合把样式表嵌入webpack打包后的JS文件中
Expand Down Expand Up @@ -823,6 +823,12 @@ module.exports = {
}
```

> 注:此处 build 脚本合并了两条命令,是 Mac 的 bash / Linux 的 shell 中的独特操作,powershell / cmd 不支持这种操作,Windows 下拆分命令为:
>
> ```json
> "build": "set NODE_ENV=production && webpack --config ./webpack.production.config.js --progress"
> ```
### 6.3 优化插件
- `OccurenceOrderPlugin`:(内置)为组件分配ID,分析和优先考虑使用最多的模块并为它们分配最小的ID
Expand Down
2 changes: 0 additions & 2 deletions 09-Tools/01-webpack/build/bundle-8a58ac53aa66ecd16b15.js

This file was deleted.

11 changes: 0 additions & 11 deletions 09-Tools/01-webpack/build/index.html

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/acorn

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/ansi-html

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/babylon

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/browserslist

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/cssesc

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/csso

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/errno

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/esparse

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/esvalidate

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/he

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/html-minifier

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/internal-ip

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/js-yaml

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/jsesc

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/json5

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/loose-envify

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/miller-rabin

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/mime

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/mkdirp

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/multicast-dns

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/regjsparser

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/rimraf

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/sha.js

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/strip-indent

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/svgo

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/uglifyjs

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/webpack

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/webpack-dev-server

This file was deleted.

1 change: 0 additions & 1 deletion 09-Tools/01-webpack/node_modules/.bin/which

This file was deleted.

Loading

0 comments on commit 5671914

Please sign in to comment.