Skip to content

g-serghei/stylus-autocompile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stylus Auto Compile

Stylus Auto Compile is an extension for Brackets, that adds possibility to auto compile Stylus files into CSS files on save.

Installation

Stylus Auto Compile can be installed from the Brackets Extension Manager by searching "stylus autocompile", after instalation please restart Brackets.

Manual Installation

  1. Install NodeJS
  2. Find your extension folder: Choose Help > Show Extensions Folder (or open it manually)
  3. Drill down to the user folder
  4. Check out the extension from GitHub into the user folder
  5. Run npm i in the root folder of the extension
  6. Run npm i in the node folder of the extension

Compile Options

Stylus auto compile extension has few options that can be set in the first line of the edited stylus file:

// out: ../dist/app.css, compress: true, sourcemap: true

The following compile options are available:

  • out: redirect the css output to a different file
  • main: compile a different file instead of this one (ignores all other options)
  • compress: compress the css output
  • sourcemap: generate a source map
  • prefix: adds prefix to css classes

About

Brackets extension - auto compile stylus files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published