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

Popular posts from this blog

python - Read npy file directly from S3 StreamingBody -

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -