-
webpack 性能优化
===
减少 Webpack 打包时间
---
### 1. 优化 Loader
- **babel**最影响效率
> Babel 会将代码转为字符串生成 AST,然后对 AST 继续进行转变最后再生成新的代码,项目越大,转换代码越多
- 优化 Loader 的文件搜索范围a
- 将 Babel 编译过的文件**缓存**起来
```js
…
-
新鲜货27篇
0.Node Weekly | 1篇
[New npm security features, Ghost 2.0 and more](https://nodeweekly.com/issues/252)
1.Frontend Focus | 1篇
[Advanced Effects with CSS Background Blend Modes](http…
-
Hi first I just discovered this wrapper, great work!
I've been having this problem for a while now: one of my animations keeps giving me:
Uncaught TypeError: Cannot read property 'length' of undef…
-
http://wlxadyl.cn/2018/03/16/react-ssr-learn/
-
## Version **1.7.2** of [script-ext-html-webpack-plugin](https://github.com/numical/script-ext-html-webpack-plugin) just got published.
Branch
Build failing 🚨
…
-
目前大家使用最多也是最广泛的应用打包工具就是 [webpack](https://webpack.js.org) 了,除去 webpack 本身已经提供的优化能力(例如,Tree Shaking、Code Splitting 等)之外,我们还能做哪些事情呢,本篇主要就为大家介绍下滴滴 WebApp 团队在这条路上的一些探索。
## 前言
现在越来越多的项目都使用 ES2015+ 开发,…
-
# 今天学了什么
+ ES6 字符串的扩展、新增方法
+ 改进Todo
> 删除已完成的任务
# 遇到了什么问题
# 明天计划
+ Todo
+ ES6
# 今天感受
+ 我太惨了吧,想添加新功能结果代码长bug了
-
I am trying to use svelte for building components and a legacy Backbone application.
The application is currently built using webpack. I added:
```javascript
rules: [
{
…
-
8.1
====
Blog:
[Progressively Enhancing CSS Layout: From Floats To Flexbox To Grid](https://www.smashingmagazine.com/2017/07/enhancing-css-layout-floats-flexbox-grid/?utm_source=frontendfocus&ut…
-
Hi:
Even if the hash of assets information is extracted from the manifest.js file by html inline. but manifest.js file changes when assets change every time.
this part of the manifest.js file cha…