Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit 7c7a9a7

Browse files
author
rsavian
committed
Fix build process.
1 parent d61eec5 commit 7c7a9a7

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"grunt-browserify": "^4.0.1",
2727
"grunt-contrib-clean": "^0.6.0",
2828
"grunt-contrib-concat": "^0.5.1",
29+
"grunt-contrib-connect": "^0.11.2",
2930
"grunt-contrib-copy": "^0.8.2",
3031
"grunt-contrib-cssmin": "^0.14.0",
3132
"grunt-contrib-handlebars": "^0.11.0",

src/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<meta name="author" content="" />
1313

1414
<!-- STYLESHEETS -->
15-
<link rel="stylesheet" media="screen, projection" href="assets/styles/modern.css?v=@@version" />
15+
<!-- build:css assets/styles/head.css -->
16+
<!-- endbuild -->
17+
<link rel="stylesheet" media="screen, projection" href="assets/styles/modern.css" />
1618
</head>
1719

1820
<body>
@@ -68,8 +70,8 @@ <h1 class="hd-page"></h1>
6870

6971
<!-- JAVASCRIPT -->
7072
<!-- build:js assets/scripts/vendor.js -->
71-
<script src="assets/vendor/jquery/dist/jquery.min.js"></script>
72-
<script src="assets/vendor/handlebars/handlebars.min.js"></script>
73+
<script src="assets/vendor/jquery/dist/jquery.js"></script>
74+
<script src="assets/vendor/handlebars/handlebars.js"></script>
7375
<!-- endbuild -->
7476

7577
<!-- build:js assets/scripts/main.js -->

tasks/buildStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = function(grunt) {
4141
}
4242
}
4343
},
44-
buildStyles: ['<%= env.DIR_SRC %>/**/*.hbs']
44+
buildStyles: ['<%= env.DIR_SRC %>/index.html']
4545
},
4646

4747
sass: {

tasks/buildTypeScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = function(grunt) {
107107
? [
108108
'browserify:buildTypeScript',
109109
'useminPrepare:buildTypeScript',
110-
//'scrub:buildTypeScript',
110+
'scrub:buildTypeScript',
111111
'concat:generated',
112112
'uglify:generated',
113113
'clean:buildTypeScript'

tasks/connectHttp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function(grunt) {
1111
connect: {
1212
connectHttp: {
1313
options: {
14-
port: 31415,
14+
port: 9000,
1515
useAvailablePort: true,
1616
protocol: 'http',
1717
base: 'web/',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy