Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Concat CSS and JS files in SublimeText 2
Python
branch: master

Merge pull request #2 from derapU/master

. accept optional whitespace in @import-statement
latest commit 03a4ea1d8a
@marcneuwirth authored

README.md

SublimeConcat

Automatically concatenate all of the dependencies in the current file

Usage:

Define the dependencies using the @import syntax

CSS:

    @import url('bootstrap.min.css');

    body { background-color: #fff; }

JS:

    //@import url('jquery.min.js'); 

    $(document).ready(function(){
        console.log('ready');
    });

Command + Shift + C will concatenate all of the dependences into a new file: {{filename}}.cat.{{extension}}

Use with YUI Compressor and SublimeOnSaveBuild for automatic concat and minify

Something went wrong with that request. Please try again.