Skip to content

Commit 26c8e85

Browse files
committed
The deployment to GitHub pages seems to lose reveal-ga, so we'll move it elsewhere. Bonus, this prevents local instances from getting tracked.
1 parent 3ba6619 commit 26c8e85

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Gruntfile.coffee

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,19 @@ module.exports = (grunt) ->
8383
'js/**'
8484
'css/*.css'
8585
'resources/**'
86-
'node_modules/reveal-ga/dist/**'
8786
]
8887
dest: 'dist/'
8988
},{
9089
expand: true
9190
src: ['index.html']
9291
dest: 'dist/'
9392
filter: 'isFile'
93+
},
94+
{
95+
expand: false
96+
src: ['node_modules/reveal-ga/dist/reveal-ga.min.js']
97+
dest: 'dist/js/reveal-ga.min.js'
98+
filter: 'isFile'
9499
}]
95100

96101

templates/_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
{ src: 'bower_components/reveal.js/plugin/zoom-js/zoom.js', async: true },
8080
{ src: 'bower_components/reveal.js/plugin/notes/notes.js', async: true },
8181
{ src: 'js/loadhtmlslides.js', condition: function() { return !!document.querySelector( '[data-html]' ); } },
82-
{ src: 'node_modules/reveal-ga/dist/reveal-ga.min.js' }
82+
{ src: 'js/reveal-ga.min.js' }
8383
]
8484
});
8585

0 commit comments

Comments
 (0)