Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 1f235c0

Browse files
committed
chore: misc build fixes
1 parent 092742c commit 1f235c0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

angular-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = function(defaults) {
2626
'firebase/lib/firebase-web.js',
2727
'rxjs/bundles/Rx.js',
2828
'@angular2-material/**/*.+(js|css|svg|map)',
29-
'material-design-icons/**/*.(woff2|woff)',
29+
'material-design-icons/**/*.+(woff2|woff)',
3030
'angular2-service-worker/dist/worker.js'
3131
]
3232
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"angular-cli": {},
66
"scripts": {
77
"start": "ng server",
8-
"postinstall": "typings install --ambient",
8+
"postinstall": "rm -rf typings && typings install --ambient",
99
"lint": "tslint \"src/**/*.ts\"",
1010
"format": "clang-format -i -style=file --glob=src/**/*.ts",
1111
"pree2e": "webdriver-manager update",

src/client/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
{{content-for 'head'}}
88
<link rel="icon" type="image/x-icon" href="favicon.ico">
99
<meta name="viewport" content="width=device-width, initial-scale=1">
10-
<!--<script type="text/javascript">
10+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
11+
<meta id="theme-color" name="theme-color" content="#999999">
12+
<!--script type="text/javascript">
1113
if ('serviceWorker' in navigator) {
1214
navigator.serviceWorker.register('/worker.js').catch(function(err) {
1315
console.log('Error installing service worker: ', err);
@@ -68,6 +70,9 @@
6870
<body>
6971
<issue-cli-app>Loading...</issue-cli-app>
7072
<script src="app-concat.js" async></script>
73+
<script>
74+
window.performance.mark('app_shell_rendered');
75+
</script>
7176
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-40960703-4', 'auto');ga('send', 'pageview');</script>
7277
</body>
7378
</html>

0 commit comments

Comments
 (0)