-
The npm package currently only distributes one large JS file, including all types.
It would be great if it distributed a file for each type.
This would allow us to include `Option` in our codeba…
-
https://www.pandashen.com/2018/07/26/20180726122146/
tree-sharking 简介tree-sharking 是 Webpack 2 后续版本的优化功能,顾名思义,就是将多余的代码给 “摇晃” 掉,在开发中我们经常使用一些第三方库,而这些第三方库只使用了这个库的一部门功能或代码,未使用的代码也要被打包进来,这样出口文件会非常大,tree…
-
see this test repo. https://github.com/pYr0x/import-bug
i have two files, both imported from "d3-axis".
the first one imported `{axisLeft, axisBottom}` and the second one imported `{axisLeft, axis…
pYr0x updated
6 years ago
-
Dart2js will expose some compiler flags to the program via environment booleans. Currently, we are just interested in one flag: `--enable-asserts`. When `--enable-asserts` is provided, the constant `b…
-
Add ES Module build together with UMD build
Point to the .esm.js file in the package.json `module` field
Like vue does https://vuejs.org/v2/guide/installation.html#Explanation-of-Different-Builds
…
-
# 트리 쉐이킹(Tree Shaking)
정의 애플리케이션을 트리의 각 노드들 즉, 일종의 나무와 같이 보고 나무를 흔들면 죽은 잎사귀들이 떨어지는 모습에 착안해 이라고 명명하였다고 한다. 사용하지 않는 코드를 제거하는 기법 방법 import시, 필요한 것만 작성하여 사용 사용하는 모듈로부터 으로 한다. Babel이
[https://rnfltpgus.…
-
### Feature Description:
Currently, Theia is published to npm as a bunch of CommonJS modules. This works fine, but might start to have disadvantages in the future:
1. We use the ESM build of VS C…
-
My goal for the next major version, which will be `v4`, is to move everything out of the `Meteor` object and do everything to have this package doing nothing if you do not import it and execute some m…
-
Remaining client-side tasks:
- [ ] lodash tree shaking (only import what we are using)
- [ ] bootstrap-vue icons tree shaking (some issue there, needs to be looked into)
- [ ] code splitting (poten…
-
When building our app with embroider, many tests fail because the serializer is not properly loaded by mirage and ember-data errors telling us that the response does not contain the required fields, l…