Skip to content

Commit ed2b78f

Browse files
committed
fix(build)
1 parent a473801 commit ed2b78f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ map of paths for using with the tasks below
99
*/
1010
var paths = {
1111
entry: 'client/app/app.js',
12-
app: ['client/app/**/*.{js,styl,html}', 'client/index.html'],
12+
app: ['client/app/**/*.{js,styl,html}'],
1313
js: 'client/app/**/*!(.spec.js).js',
1414
styl: 'client/app/**/*.styl',
1515
toCopy: ['client/index.html'],
@@ -47,7 +47,7 @@ gulp.task('serve', function() {
4747
simple task to copy over needed files to dist
4848
*/
4949
gulp.task('copy', function() {
50-
return gulp.src(paths.toCopy, { base: '.' })
50+
return gulp.src(paths.toCopy, { base: 'client' })
5151
.pipe(gulp.dest(paths.dest));
5252
});
5353

client/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>ngBlog</title>
66
</head>
77
<body>
8-
8+
hey
99
<script src="bundle.js"></script>
1010
</body>
1111
</html>

webpack.js renamed to webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313

1414
module: {
1515
loaders: [
16-
{ test: /\.html$/, loader: 'raw' }
16+
{ test: /\.html$/, loader: 'raw' },
1717
{ test: /\.styl$/, loader: 'css!style!stylus' },
1818
// TODO: create loader for .js filest ransfroming from ES2015 to ES5
1919
]

0 commit comments

Comments
 (0)