Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (18 sloc) 0.758 kb



  • --extension <extension> extension, the file extension that we should build
  • -e short version


The extension flag is used to tell square which type of build you want to output. As square is primarily build for front-end development it currently supports the following output extensions:

  • js JavaScript files, this is also the default value.
  • css Cascading Style Sheets.

The extension flag is only used for finding files that either have that extension or compile code to that extension. For example if you use --extension css it will compile a build with all the .css, .styl, .less and .sass files that you specified in your bundle.


square ---bundle . --extension css
Jump to Line
Something went wrong with that request. Please try again.