-
## 前言
我们在使用 webpack 打包构建 moment 库的时候,moment 默认会将所有语言包全部引入,这样就会导致打包后的 JS 体积增大,通过 ```webpack-bundle-analyzer``` 分析工具可以看到,如果将所有的 moment 语言包引入的话,所占 JS 体积是相当庞大的。gzip 之后也要占据 65kb 的文件大小。
![](https://im…
-
Using Cesium generates different chunks of 15MB, we need to optimize as much as possible by at least sharing a single Cesium chunk and ensure it is only loaded when 3D view is active.
Related to ht…
-
Hi,
When I run webpack-dev-server it compiles fine, but when I save a file that is being watched by this plugin, I get the following error:
```
Compilation Started after change of - source/app…
-
Hi, Did you ever actually get splitChunks working with AMD targetLibrary? I'm having the same problem. It works with a single chunk but not when you split out the vendor chunks. Thanks
-
Any time I try to use electron-webpack for building or production testing I get a heap out of memory crash. It works fine if I do `electron-webpack dev` but that is the only case it works.
I am cur…
-
My code uses an external created systemjs bundle.
The bundle is loaded by using karma.config.files. ie
```
files: [
{pattern: 'bower_components/external_bundle.js', included: true}
],
``…
piebe updated
8 years ago
-
## 前言
本文不是webpack入门文章,如果对webpack还不了解,请前往题叶的[Webpack入门](http://segmentfault.com/a/1190000002551952),或者阮老师的[Webpack-Demos](https://github.com/ruanyf/webpack-demos)。
## 为什么要使用Webpack
1. 与react一类模块化开发的框架…
-
问题:加载子应用,但是 子应用的包不存在,会一直重复刷新加载。
- **qiankun 版本**:2.10.6
- **浏览器版本**:Chrome 版本 112.0.5615.138(正式版本) (64 位)
- **操作系统**:windows
-
### 阿里 外包
阿里的同学真给力,长达50分钟的电话初面。
**hr:** 你好,我是阿里的,说说你现在工作内容吧。
**我:** 我现在在做公司后台系统,用vue重构,同时做小程序。
**hr:** 你在做的过程中,遇到的难题,克服的困难。
**我:** 小程序商品详情页面有个弹框,我负责实现他的功能,让他在同时满足3个条件的情况下弹出,(这不是我的店铺,我第一次进到商品详…
plh97 updated
5 years ago
-
I have been experiencing a huge issue with the VueJS webpack template css output order. I am using the webpack template generated by the CLI with default settings. I am not sure if this is specificall…