Page 1 of 1

Fix warning when importing the .scss files in webpack

Posted: 15 Jul 2017, 02:43
by rwngallego
I'm getting this warning:

Code: Select all

WARNING in ./src/assets/layout/css/layout-default.scss
(Emitted value instead of an instance of Error) autoprefixer: /home/rgallego/Sandbox/angular2/paradise-ng-1.0.1/src/assets/sass/_mixins.scss:128:4: Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.
 @ multi ./~/primeng/resources/primeng.min.css ./~/fullcalendar/dist/fullcalendar.min.css ./~/quill/dist/quill.snow.css ./~/font-awesome/css/font-awesome.min.css ./~/nanoscroller/bin/css/nanoscroller.css ./~/ng-loading-bar/loading-bar.css ./src/assets/theme/theme-blue.scss ./src/assets/layout/css/layout-default.scss ./src/styles.scss
I fixed it by using 'to right' instead of 'left' according to this: https://github.com/postcss/autoprefixer ... -143785816

Re: Fix warning when importing the .scss files in webpack

Posted: 15 Aug 2017, 17:05
by cagatay.civici
Thank you, we'll apply the change for next release.