connect-compiler icon indicating copy to clipboard operation
connect-compiler copied to clipboard

replace sass.js implementation with support for node-sass

Open airtonix opened this issue 10 years ago • 0 comments

the support for sass.js doesn't seem to work anymore:

with the following server.coffee:

connect = require 'connect'
compiler = require 'connect-compiler'
# uncomment as required
# sass = require 'node-sass'
# sass = require 'sass.js'

server = connect.createServer(
    connect.logger 'dev'
    connect.favicon()
    compiler
        enabled: ['sass', 'coffee', 'jade']
        src: 'src'
        dest: 'tmp'
        resolve_index: true

    connect.static __dirname + '/src'
    connect.static __dirname + '/tmp'
)
server.listen 8000
  • with sass.js installed:
    • sass not found
  • with node-sass installed:
    • sass not found

airtonix avatar Mar 11 '14 08:03 airtonix