rstacruz / css-condense

[unsupported] A CSS compressor that shows no mercy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting a TypeError

agats opened this issue · comments

Hi there,

I am getting this error when I am trying to condense a single file

/usr/lib/node_modules/css-condense/node_modules/css-stringify/lib/compress.js:135
+ this.indent(1)
^
TypeError: Object # has no method 'indent'
at Compiler.page (/usr/lib/node_modules/css-condense/node_modules/css-stringify/lib/compress.js:135:12)
at Compiler.visit (/usr/lib/node_modules/css-condense/node_modules/css-stringify/lib/compress.js:31:25)
at Array.map (native)
at Compiler.media (/usr/lib/node_modules/css-condense/node_modules/css-stringify/lib/compress.js:58:18)
at Compiler.visit (/usr/lib/node_modules/css-condense/node_modules/css-stringify/lib/compress.js:31:25)
at Array.map (native)
at Compiler.compile (/usr/lib/node_modules/css-condense/node_modules/css-stringify/lib/compress.js:22:12)
at Object.module.exports as stringify
at compressCode (/usr/lib/node_modules/css-condense/index.js:55:20)
at compress (/usr/lib/node_modules/css-condense/index.js:27:10)

I'm getting this when parsing Bootstrap 3. I have no idea what's causing the issue.