Comments (5)
顺便请教下,webpack 在压缩时可以指定部分不压缩么?这样应该也能解决这个问题。
from g2.
不太了解webpack的打包,@jaredleechn 帮忙回答一下
from g2.
- 本地试了下,g2 的压缩版本作为依赖打包没有问题,压缩确实会占用较久时间,猜测你不是卡死而是过慢
- 可以用 external 把 g2 挂在全局上
- 可以配置 uglifyjsplugin
- 可以配置 noParse
如果觉得自己写 webpackConfig 太麻烦可以使用 atool-build
from g2.
确实是慢,中午吃完饭回来发现居然打包完成了,平时也不会等这么久。
from g2.
多谢指点。
from g2.
Related Issues (20)
- 柱状统计图的x轴部分名称显示不出来 HOT 2
- 仪表盘 中间文字 显示不需要的 toopTip
- G2 V4 的 columnWidthRatio 配置,在 G2 V5 如何实现相似效果 HOT 8
- 关于文档查找API使用说明找不到的问题 HOT 4
- 如何实现类似g2plot,柱状图hover元素区域外的同时,也高亮背景色?
- 如何调整条形图之间的间距 HOT 2
- 如何绑定颜色 HOT 1
- hover 至某些图表的label 无法触发 tooltip 提示 HOT 1
- frame 属性不起 作用
- 条形图 坐标上的标签 可以这么实现吗 HOT 6
- 使用 lineY 绘制辅助线设置 arrow 时, 对 lineY进行更新, arrow 会重复进行绘制 HOT 2
- Can't import gesture,因此无法实现pinch zoom
- 5.x 如何在展示图例的时候设置类似 4.x 中 offset 配置项的效果
- 🐞bug: tootltip mount 在 body 上时,如果 chart 容器本身可滚动,tooltip 显示位置
- chart.line Tooltip name 显示错误 HOT 1
- 散点图中画三根线 HOT 2
- 如何根据画布上的位置Point(x,y)信息获取对应的数据
- 5.X版本x轴旋转不使用默认自动旋转90度,如何设置自定义旋转角度 HOT 2
- 饼图动画优化
- axis 的 label WrapOverlapCfg 换行后第二行的内容不显示 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g2.