Skip to content

Commit 8fe6a78

Browse files
committed
Change the way Bootstrap is imported to fix build issues
See: angular/angular-cli#9020
1 parent 94c48ed commit 8fe6a78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.angular-cli.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"testTsconfig": "tsconfig.spec.json",
2020
"prefix": "app",
2121
"styles": [
22-
"styles.scss",
23-
"../node_modules/bootstrap/dist/css/bootstrap.min.css"
22+
"styles.scss"
2423
],
2524
"scripts": [],
2625
"environmentSource": "environments/environment.ts",

src/styles.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import "~bootstrap/scss/bootstrap";
12
$fa-font-path: "../node_modules/font-awesome/fonts";
23
@import '~font-awesome/scss/font-awesome.scss';
34

0 commit comments

Comments
 (0)