Fix warning when importing the .scss files in webpack

Post Reply
rwngallego
Posts: 3
Joined: 07 Jul 2017, 06:58

15 Jul 2017, 02:43

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

User avatar
optimus.prime
Prime
Posts: 17556
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

15 Aug 2017, 17:05

Thank you, we'll apply the change for next release.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest