Skip to content
Concat CSS and JS files in SublimeText 2
Python
Latest commit 03a4ea1 Sep 2, 2014 @marcneuwirth Merge pull request #2 from derapU/master
. accept optional whitespace in @import-statement

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.