sails.js - How to concatenates css files with .map files in sails? -


i newbie in nodejs,

when try use grunt in sails 'sails www --prod' command.

my web's style broken. changed css path,

<!--styles--> <link rel="stylesheet" href="min/production.min.css"> <!--styles end--> 

to

<!--styles--> <link rel="stylesheet" href="concat/production.css"> <!--styles end--> 

to find happened, , in browser console told error

get http://localhost:88/concat/bootstrap.css.map 404 (not found) 

now, know bootstrap.css can't find .map file , didn't know how fix it.

thanks help.

you should copy bootstrap.css.map bootstrap folder concat folder


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -