Skip to content

Commit 15c0920

Browse files
committed
fix(styles): distribute stylesheet
1 parent 6795d60 commit 15c0920

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To integrate the built in Stylesheet just import in in your angular.json.
7272

7373
```
7474
"styles": [
75-
"node_modules/ng-sortgrid/dist/lib/ngsg.css",
75+
"node_modules/ng-sortgrid/styles/ngsg.css",
7676
],
7777
```
7878

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"copy:readme": "copyfiles ./README.md ./projects/ng-sortgrid",
8+
"copy:styles": "copyfiles -f ./projects/ng-sortgrid/src/lib/ngsg.css ./dist/ng-sortgrid/styles",
89
"format:check": "prettier --list-different 'projects/**/*.ts'",
910
"format:write": "prettier --write 'projects/**/*.ts'",
1011
"test": "ng test",
@@ -13,7 +14,7 @@
1314
"test:lib:coverage": "ng test ng-sortgrid --code-coverage --watch=false",
1415
"report-coverage:lib": "cat ./coverage/ng-sortgrid/lcov.info | codecov",
1516
"build": "npm run build:lib && npm run build:demo",
16-
"build:lib": "npm run copy:readme && ng build ng-sortgrid",
17+
"build:lib": "npm run copy:readme && ng build ng-sortgrid && npm run copy:styles",
1718
"build:demo": "ng build ng-sortgrid-demo --base-href='https://kreuzerk.github.io/ng-sortgrid/'",
1819
"publish": "npm run publish:lib",
1920
"publish:demo": "npx angular-cli-ghpages --dir=./dist/ng-sortgrid-demo",

0 commit comments

Comments
 (0)