Skip to content

1.3.2

Latest
Compare
Choose a tag to compare
@eguvenc eguvenc released this 26 Oct 15:35
· 5 commits to 1.x since this release
  • Added some configurations to fix sass 3.0 deprecations

https://stackoverflow.com/questions/78997907/the-legacy-js-api-is-deprecated-and-will-be-removed-in-dart-sass-2-0-0

css: {
	preprocessorOptions: {
	  sass: {
	    api: 'modern',
	    silenceDeprecations: ["legacy-js-api"],
	  }
	}
},
  • Updated all src/components/sass files. Replaces import "x" as use "x"
  • Added namespace to sass files like below
@import "./variables" as v;

p code {
	background: rgba(v.$color-black, 0.1);
	color: rgba(v.$color-black, 0.8);
}
  • Added sass loader "sass-loader": "^16.0.2", to package.json