javascript - Ember js 2, Using scss @import in my app.scss production doesn’t remove comments in final css -
in app.scss file i'm using
@import "./node_modules/bootstrap/scss/bootstrap";
because i'm using (and changing) bootstrap variable app.scss.
i found ember build -prod
doesn't remove comments within bootstrap imports in final app.css.
so in production css have this:
/*! * bootstrap v4.0.0-beta (https://getbootstrap.com) * copyright 2011-2017 bootstrap authors * copyright 2011-2017 twitter, inc. * licensed under mit (https://github.com/twbs/bootstrap/blob/master/license) */address,dl,ol,p,ul{margin-bottom:1rem}body,caption{text-align:left}........
why?
how can remove superfluous comments?
/*!
"special" comment due !
character @ end not stripped build. contains mandatory license information, means illegal strip if use bootstrap assets.
wiki
Comments
Post a Comment