Skip to content

Commit

Permalink
(feat/perf) make main styles.css file external (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdouble committed Nov 2, 2016
1 parent 5b6069d commit 1fb94d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import './styles.scss';

#my-page-card {
min-height: 100%;
}
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<base href="/">
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css" />
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<style>#str-dlls { display: none }</style>
</head>
Expand Down
1 change: 1 addition & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const COPY_FOLDERS = [
{ from: 'src/assets', to: 'assets' },
{ from: 'node_modules/hammerjs/hammer.min.js' },
{ from: 'node_modules/hammerjs/hammer.min.js.map' },
{ from: 'src/app/styles.css' },
...MY_COPY_FOLDERS
];

Expand Down

0 comments on commit 1fb94d4

Please sign in to comment.