Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Commit cb91309

Browse files
author
Pascal Iske
committed
chore(styles): upgrade config of scss-bundle for new major release
1 parent 4924003 commit cb91309

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"postbuild": "yarn run build-scss && yarn run copy-metadata",
2323
"start": "ng serve form-elements-demo",
2424
"build": "ng build --prod",
25-
"build-scss": "scss-bundle -e projects/form-elements/src/lib/main.scss -d dist/form-elements/styles.scss --includePaths node_modules",
25+
"build-scss": "scss-bundle",
2626
"copy-metadata": "cp README.md dist/form-elements/README.md && cp LICENSE.md dist/form-elements/LICENSE.md && cp CHANGELOG.md dist/form-elements/CHANGELOG.md",
2727
"lint": "ng lint form-elements --fix",
2828
"format": "prettier --write \"{src,projects}/**/*.{ts,scss,md,html}\"",

scss-bundle.config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"bundlerOptions": {
3+
"entryFile": "projects/form-elements/src/lib/main.scss",
4+
"outFile": "dist/form-elements/styles.scss",
5+
"includePaths": ["node_modules"]
6+
}
7+
}

0 commit comments

Comments
 (0)