Giter Site home page Giter Site logo

mrt134 / es6-css-minify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olback/es6-css-minify

0.0 0.0 0.0 824 KB

Easily minify CSS and JavaScript in VS Code

Home Page: https://marketplace.visualstudio.com/items?itemName=olback.es6-css-minify

License: MIT License

JavaScript 6.87% TypeScript 91.82% CSS 1.32%

es6-css-minify's Introduction

JS & CSS Minifier

Visual Studio Marketplace rating Visual Studio Marketplace GitHub package version

If you found this extension useful and want to support further development, please consider donating.

OS Status
Linux & MacOS Build Status
Windows Build status

A simple Javascript & CSS minifier.
A Minify button should appear in the status bar when opening a .js or a .css file. You can also run Minify: Document by clicking F1 or CTRL+SHIFT+P.

Loading custom configs

By default the extension will look for .uglifyrc, .cleancssrc and .autoprefixerrc.
You can change the paths in settings. After changing settings in any of the config files, make sure to reload with Minify: Reload config. If the reload fails, make sure you don't have syntax errors in your config. If you want to go back to the default config, rename/delete your config file(s).

The config parsed by the extension is just passed to terser, clean-css or autoprefixer. If the output is diffrent from what you expected, please confirm that the issue is with the extension and not terser, clean-css or autoprefixer before opening an issue.

Minify on save, disabled by default!

Minify on save can be enabled in settings.

Generate source maps

Source maps can be generated by changing es6-css-minify.genCSSmap and es6-css-minify.genJSmap respectively.

Dependencies:

es6-css-minify's People

Contributors

dependabot[bot] avatar marciopamplona avatar mutsuntsai avatar olback avatar rolandtoth avatar

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.