Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Remove sass-verioning import and mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam A. Zerella committed Apr 15, 2019
1 parent d19776e commit 76833d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions packages/pancake-sass/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Pancake Sass plugin

## Versions

* [v2.3.7 - Remove sass-versioning](v237)
* [v2.3.4 - Added cross-platform path seperator for org replace function](v234)
* [v2.2.4 - Upgrade dependencies](v224)
* [v2.1.4 - Reverted pathing issue with pancake-sass, corrected changelog](v214)
Expand Down Expand Up @@ -34,6 +35,11 @@ Pancake Sass plugin

----------------------------------------------------------------------------------------------------------------------------------------------------------------

## v2.3.7

- Remove sass-versioning


## v2.3.4

- Added cross-platform path seperator for org replace function
Expand Down
1 change: 1 addition & 0 deletions packages/pancake-sass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ To run the tests make sure you go to the monorepo this package came from and clo

## Release History

* v2.3.7 - Remove sass-versioning
* v2.3.4 - Added cross-platform path seperator for org replace function
* v2.2.4 - Upgrade dependencies
* v2.1.4 - Reverted pathing issue with pancake-sass, corrected changelog
Expand Down
2 changes: 1 addition & 1 deletion packages/pancake-sass/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gov.au/pancake-sass",
"version": "2.3.4",
"version": "2.3.7",
"description": "A Pancake plugin to compile sass files.",
"keywords": [
"npm",
Expand Down
6 changes: 2 additions & 4 deletions packages/pancake-sass/src/pancake.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ module.exports.pancake = ( version, modules, settings, GlobalSettings, cwd ) =>
sass = `${ banner }` +
`/* ${ modulePackage.name } v${ modulePackage.version } */\n\n` +
`@import "${ sassVersioningPath }";\n\n` +
`${ sass }\n` +
`@include versioning-check();\n`;
`${ sass }\n`
}
else {
sass = `/* ${ modulePackage.name } v${ modulePackage.version } */\n\n${ sass }\n`;
Expand Down Expand Up @@ -198,8 +197,7 @@ module.exports.pancake = ( version, modules, settings, GlobalSettings, cwd ) =>
if( sassVersioning === true ) {
allSass = `${ banner }` +
`@import "${ sassVersioningPath }";\n\n` +
`${ StripDuplicateLines( allSass ) }\n\n` +
`@include versioning-check();\n`;
`${ StripDuplicateLines( allSass ) }\n\n`
}
else {
allSass = `${ banner }${ StripDuplicateLines( allSass ) }\n`;
Expand Down

0 comments on commit 76833d5

Please sign in to comment.