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

CSS minified improperly after updating a CSS file

Open takempf opened this issue 13 years ago • 0 comments

On initial startup, minification of a series of CSS files works properly. However, upon updating anything in any of these css files, the minified CSS is regenerated and broken. Usually a tiny part of one file will be truncated, throwing the styles into chaos.

Any idea what might be causing this? Am I missing a configuration parameter?

router.use( assetManager({ css: { dataType: 'css', path: __dirname +'/static/styles/', files: [ 'tksync.css', 'room.css', 'room/fullscreen.css', 'dialog.css', 'tooltip.css', 'search.css', 'draw.css', 'collection.css', 'farbtastic/farbtastic.css' ], route: /styles\/tk_room.css/ } }) );

takempf avatar Dec 08 '11 08:12 takempf