Skip to content

Commit

Permalink
Feat:优化项目:新增配置注释说明,使用alias简化路径等功能
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Liang committed Nov 21, 2019
1 parent 54f7ade commit bd0e792
Show file tree
Hide file tree
Showing 22 changed files with 66 additions and 97 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
- [x] CSS 预编译工具:Less
- [x] HTTP 库:Axios
- [x] 代码规范:Linter
- [x] rem 适配:postcss-plugin-px2rem
- [x] 优化 babel-loader,开启 cacheDirectory
- [x] 使用 Happypack将 loader 由单进程转为多进程,加快编译速度
- [x] 文件结构可视化:webpack-bundle-analyzer
- [x] 业务代码和第三方库区分打包:DllPlugin
- [x] 删除冗余代码:UglifyJsPlugin
- [x] 开启 Gizp 压缩:compression-webpack-plugin
- [x] 配置引入公共样式文件
- [x] 使用 alias 简化路径
- [x] rem 适配:postcss-plugin-px2rem
- [x] 文件结构可视化:webpack-bundle-analyzer
- [x] 单元测试

## 安装及快速开始
Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=http://img.boblog.com/favicon.ico><title>webapp</title><link href=http://img.boblog.com/static/js/about.1ac4c12e.js rel=prefetch><link href=http://img.boblog.com/static/css/app.d184333e.css rel=preload as=style><link href=http://img.boblog.com/static/js/app.19a1129b.js rel=preload as=script><link href=http://img.boblog.com/static/js/chunk-vendors.4fc6d7c0.js rel=preload as=script><link href=http://img.boblog.com/static/css/app.d184333e.css rel=stylesheet></head><body><noscript><strong>We're sorry but webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=./vendor/vendor.dll.js></script><script src=http://img.boblog.com/static/js/chunk-vendors.4fc6d7c0.js></script><script src=http://img.boblog.com/static/js/app.19a1129b.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=http://img.boblog.com/favicon.ico><title>webapp</title><link href=http://img.boblog.com/static/js/about.1d60503b.js rel=prefetch><link href=http://img.boblog.com/static/css/app.b6cebeab.css rel=preload as=style><link href=http://img.boblog.com/static/js/app.edd423b7.js rel=preload as=script><link href=http://img.boblog.com/static/js/chunk-vendors.fcf79f37.js rel=preload as=script><link href=http://img.boblog.com/static/css/app.b6cebeab.css rel=stylesheet></head><body><noscript><strong>We're sorry but webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=./vendor/vendor.dll.js></script><script src=http://img.boblog.com/static/js/chunk-vendors.fcf79f37.js></script><script src=http://img.boblog.com/static/js/app.edd423b7.js></script></body></html>
2 changes: 2 additions & 0 deletions dist/static/css/app.b6cebeab.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/static/css/app.b6cebeab.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/static/css/app.d184333e.css

This file was deleted.

File renamed without changes.
Loading

0 comments on commit bd0e792

Please sign in to comment.