Giter Club home page Giter Club logo

Comments (3)

evanw avatar evanw commented on July 29, 2024

My name is not Dean, sorry. This was a port I did a long time ago and the community has moved on since then. Now most people use uglify. I was keeping this port up in case people are depending on it, but it's not intended for use with new projects. I would recommend using uglify instead because it's a large community effort and is more durable than packer.

If you're still interested in using this library, I can try to fix it. It'll be easier to make sure it's fixed if you give me an example of code that is currently broken.

from packer.

fedeghe avatar fedeghe commented on July 29, 2024

Then sorry Evan,

No, I think I will definitely follow you advice and migrate to uglifyjs
once for all.

Thanks

Il 6/6/16 15:42, Evan Wallace ha scritto:

My name is not Dean, sorry. This was a port I did a long time ago and
the community has moved on since then. Now most people use uglify
https://github.com/mishoo/UglifyJS2. I was keeping this port up in
case people are depending on it, but it's not intended for use with
new projects. I would recommend using uglify instead because it's a
large community effort and is more durable than packer.

If you're still interested in using this library, I can try to fix it.
It'll be easier to make sure it's fixed if you give me an example of
code that is currently broken.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment), or
mute the thread
https://github.com/notifications/unsubscribe/ABRUcioO3i6vgnn_2XugKN0efyPKYu41ks5qJCO7gaJpZM4IsXj7.

from packer.

czmirek avatar czmirek commented on July 29, 2024

Sure, uglify has a strong support...

But:

  • original JS code = 417 KB
  • uglified = 123 KB
  • packing the uglified code with packer = 81 KB

That's one third file size reduction and the code still works. One third is significant enough for me to post this message and give this some support.

And the only thing for this little project to work is to update the jsdom to new version which does not depend on contextify which does not work for node js 7 :)

from packer.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.