Skip to content

Commit c0eaf0f

Browse files
Merge pull request #282 from bryceosterhaus/248
feat(npm-scripts): add script for building sass
2 parents 19e03ab + 18e9c76 commit c0eaf0f

File tree

23 files changed

+603
-11
lines changed

23 files changed

+603
-11
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"description": "Liferay's Frontend Infrastructure Team monorepo",
77
"devDependencies": {
88
"@babel/preset-env": "^7.4.2",
9+
"@clayui/css": "^3.x",
910
"@cnakazawa/watch": "^1.0.4",
1011
"@types/ejs": "3.0.4",
1112
"@types/escodegen": "0.0.6",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import url('import.css');
2+
3+
@import url('import2.css');
4+
5+
@import url('import3.css');

projects/npm-tools/packages/npm-scripts/__fixtures__/sass/excludes/excluded.scss

Whitespace-only changes.

projects/npm-tools/packages/npm-scripts/__fixtures__/sass/excludes/included.scss

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$primary-color: red;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import 'fake-atlas';
2+
3+
.my-class {
4+
color: $primary-color;
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.parent-class {
2+
.child-class {
3+
color: red;
4+
}
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.nested-parent-class {
2+
.nested-child-class {
3+
color: blue;
4+
}
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.parent-class {
2+
.child-class {
3+
color: red;
4+
}
5+
}

projects/npm-tools/packages/npm-scripts/__fixtures__/sass/none/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)