-
rollup + antd + react 打包后 js文件在浏览器打开报错:
```
var history = shape({
listen: func$1.isRequired,
push: func$1.isRequired,
replace: func$1.isRequired,
go: func$1.isRequired,
goBack: func…
-
Hello,
as most bundle system don't transpile node module (for performance reasons) this might get unsupported on some browsers or break some webpack build systems that still use uglify.js
here is …
-
**Bug report or Feature request?**
The following works with `uglify-js` (for JS but not ES) but not with `terser`:
```js
const result = await minify(files, {
sourceMap: {
content: 'inli…
-
Thanks for this plugin! I'm seeing the following build issue on 1.19.5 nodebb, after installing and enabling (0.10.0):
```
2022-04-07T20:26:52.351Z [4567/17209] - error: [build] requirejs m…
-
Test source:
```
"use strict";
let a = 0;
for (let i = 0; i < 10; i++) {
console.log("log");
}
console.log("final", a);
```
Output after node-uglifier:
```
var cachedModules=[];for…
-
**Uglify version (`uglifyjs -V`)**
```
uglify-js 3.19.3
```
**JavaScript input**
```javascript
((e) => {
const t = e.pushState,
r = e.replaceState;
(e.pushState = function (…
harai updated
16 hours ago
-
> If I'm going to minify it I'll need to figure out a build step in Datasette itself so that I can easily work on that minified version.
_Originally posted by @simonw in https://github.com/simonw/d…
-
I was minifying a project with a package depending on `node-bindings` and the resulting code ended up throwing an exception regarding some `path` not being a `string`.
I pinpointed the problem in `…
-
使用华为npm镜像也会报错,查资料尝试了一下午也没解决,求大佬帮忙分析下原因
node -v
v18.4.0
npm -v
8.13.1
具体报错信息如下:
npm install
npm WARN skipping integrity check for git dependency ssh://git@github.com/lyswhut/react-native-track-p…
-
> 视频版:[youtube](https://www.youtube.com/watch?v=z4pWFpPiIoc) | [bilibili](https://www.bilibili.com/video/av37573841/)
## 缘起
由于维护 roadhog 和 umi,收到构建方面的问题反馈比较多,其中一个常见的是打包时 uglify 压缩的问题。类似下面的报错都是这个…