connect-assetmanager
connect-assetmanager copied to clipboard
CSS minified improperly after updating a CSS file
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/ } }) );