Skip to content

Commit

Permalink
fix: bundle stylesheets with scss-bundle
Browse files Browse the repository at this point in the history
fixes: #179
  • Loading branch information
mofogasy authored and danielwiehl committed Sep 13, 2019
1 parent 02f98c2 commit 5e2d141
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 4 deletions.
269 changes: 269 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
"build": "run-s build:*",
"build:mouse-dispatcher": "ng build --prod @scion/mouse-dispatcher",
"build:dimension": "ng build --prod @scion/dimension",
"build:viewport": "ng build --prod @scion/viewport && cp -r projects/scion/viewport/src/theme/** dist/scion/viewport",
"build:workbench": "ng build --prod @scion/workbench && cp -r projects/scion/workbench/src/theme/** dist/scion/workbench",
"build:viewport": "ng build --prod @scion/viewport",
"postbuild:viewport": "scss-bundle -e projects/scion/viewport/src/theme/_scrollbar.scss -o dist/scion/viewport/scrollbar.scss",
"build:workbench": "ng build --prod @scion/workbench",
"postbuild:workbench": "scss-bundle -e projects/scion/workbench/src/theme/_theming.scss -o dist/scion/workbench/theming.scss",
"build:workbench-application-platform.api": "ng build --prod @scion/workbench-application-platform.api",
"build:workbench-application-platform": "ng build --prod @scion/workbench-application-platform",
"build:workbench-application.core": "ng build --prod @scion/workbench-application.core",
Expand Down Expand Up @@ -113,6 +115,7 @@
"@types/jasminewd2": "2.0.6",
"@types/node": "10.12.18",
"codelyzer": "5.1.0",
"cross-env": "5.2.0",
"jasmine-core": "3.4.0",
"jasmine-spec-reporter": "4.2.1",
"karma": "4.1.0",
Expand All @@ -126,12 +129,12 @@
"protractor": "5.4.2",
"puppeteer": "1.13.0",
"rxjs-tslint": "0.1.7",
"scss-bundle": "3.0.1",
"ts-node": "8.2.0",
"tsickle": "0.35.0",
"tslint": "5.12.1",
"typescript": "3.4.5",
"wait-on": "3.2.0",
"cross-env": "5.2.0"
"wait-on": "3.2.0"
},
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions scss-bundle.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"bundlerOptions": {
"rootDir": ".",
"logLevel": "info"
}
}

0 comments on commit 5e2d141

Please sign in to comment.