Coder Social home page Coder Social logo

atom-uglify's Introduction

atom-uglify's People

Contributors

azakur4 avatar richienb avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

azakur4 richienb

atom-uglify's Issues

'unsafe-eval' error when running 'uglify' from atom command pallete

Refused to evaluate a string as JavaScript because 'unsafe-eval'.....

This is the error I am getting (on this and other packages) when I try to run uglify command in atom, this is really weird because I have been getting this a lot since I reinstalled ubuntu gnome. I pulled in atom from the repo as usual... node is updated to latest, I have tested and can run uglifyjs from command line (which I believe you guys use???) but for some reason I get this error on a few packages now.

The full error is...

Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

Now i am aware of the details surrounding this error... but I am at a loss if it is me, or this package (and others) at fault.

thanks

Paul

Uglify not found in palette before cursor is inside

If you have several files open on the tabs, and switch between them by clicking the tabs Uglify won't be available in the command palette, you have to click inside and have the cursor blinking inside for it to be available.

This wasn't obvious at first, and caused frustration.

Uglify multiple files into one

Hi,

I want to uglify multiple files into one

//uglify-js out: out/file.js, files: file-1.js file-2.js file-3.js, compress: true

is it possible with your package.

Thanks in advance

Uglify on save

It would be nice to have an "uglify on save" feature similar to this one:
https://github.com/lohek/less-autocompile

In less-autocompile you can specify an "out" parameter as comment on line 1 and every time you save the LESS file the package creates a CSS file with the given filename.

A similar option would be nice to have for this plugin, too.

Maybe:

    // auto-uglify: example.min.js

?

Minify only selected text in Javascript files

I have a file with some libraries and comments at the top that I want to maintain and unminified code at the bottom. Right now I have to copy it to a separate file, minify, and copy back, but it'd be nice if I could save some time by minifying part of it in place.

Looking at the code, it seems like it's done deliberately, but I'm not sure that it has to be?

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.