Comments (10)
I strongly feel the solution here is to allow users to pass their own uglifyjs instance. This would let them use any version they please.
from express-minify.
I may end up forking this project just during the test period and bump the dep there (still testing ES5 minification and resource consumption)... haven't had much time to do much coding since New Years other than a few minor fixes here and there. I don't particularly like using git uri's in npm because they redownload the whole thing every npm install
on our VPS instead of checking to see if there are changes... which is why I prefer the npm registry for package deps... but a short term is okay. I noticed a little while ago the harmony branch was sync'd with release which would have been my next request over there.
from express-minify.
I'm so sorry for the late reply. I was devoted to the school's stuff in the past several months and I haven't noticed this issue. I'm still deeply caught by exams currently and I will start dealing with this in a week. Thanks for your understanding!
from express-minify.
@summerwish
No problem studies are important too... I was just asking to be courteous first... keeps things tidier and some projects informed. :)
from express-minify.
I released a new version and you can pass your own UglifyJS instance into express-minify now.
from express-minify.
Kewl... Thanks. It's looking like I may have to make a new route though... I understand that the harmony branch is unstable but when two of the maintainers say there might be issues ... especially one with arrow functions... I might have to include UglifyJS2 directly as a dep and create a temporary route... but this will be good for local testing. Thanks again. :)
from express-minify.
Also I'm going to need a dump log of the errors encountered so I can pass that along to them with the try...catch
... so I guess I'll keep that fork around too.
from express-minify.
Works here on the tested subset... I'll create a new NFR for a callback, or equivalent, for the error trap... currently it's set to "ignore" in this package.
from express-minify.
Be sure to report any crashes of uglifyjs on the harmony branch. File an issue and @mention me so I can find it in the sea of other issues, please!
I would appreciate it a lot :) it's been hard work getting es6 into uglifyjs
from express-minify.
@fabiosantoscode
You are looking at one of the noisiest developers out there here (me)... so I'll let you know for sure... just need to link in an error handler soon that was just added at #44
I can say if the error message is too vague on the harmony branch I will not be storing and distributing the full source code of the affected in a log as that can get HUGE for storage if a bunch of revisions come through. We are currently a presentational userscript repository so we don't have diffs and versions. I'm sure someone will try fill up our VPS logs like they tried on USO if I stored each revision... which is part of the reason why they had lots of downtime.
from express-minify.
Related Issues (20)
- What's the reason why to remove blacklist support? HOT 3
- stylus not required when not loaded yet HOT 2
- NFR: `catch` callbacks, emitters, or equivalent options HOT 9
- Add Brotli support HOT 1
- Middleware not hooked? HOT 1
- Typescript HOT 2
- gzipping should be done after minification HOT 2
- It's not working for me. HOT 41
- js_match.test is not a function HOT 1
- Basic Usage is not working HOT 2
- uglifyJS option and uglifyJS-X compatibility HOT 9
- Crash HOT 2
- CSS are minified, JS not HOT 1
- Question about file cache option HOT 3
- Error while installing on macOS 10.14.1 HOT 2
- How to skip minification for already minified assets? HOT 1
- CSS minifying issue
- Minify and uglify inline script
- `express-minify` +`terser` ?
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 express-minify.