mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-10 06:52:05 +01:00
Implemented embed of analytics during build
This commit is contained in:
20
Gruntfile.js
20
Gruntfile.js
@@ -39,12 +39,20 @@ module.exports = function(grunt) {
|
||||
}
|
||||
},
|
||||
copy: {
|
||||
files: {
|
||||
src: 'src/*.*',
|
||||
dest: 'build/',
|
||||
flatten: true,
|
||||
expand: true
|
||||
main: {
|
||||
files: [{
|
||||
src: 'src/*.*',
|
||||
dest: 'build/',
|
||||
flatten: true,
|
||||
expand: true
|
||||
}, {
|
||||
src: 'src/js/analytics.js',
|
||||
dest:'build/js/',
|
||||
flatten: true,
|
||||
expand: true
|
||||
}]
|
||||
}
|
||||
|
||||
},
|
||||
processhtml: {
|
||||
build: {
|
||||
@@ -53,7 +61,7 @@ module.exports = function(grunt) {
|
||||
}
|
||||
}
|
||||
},
|
||||
clean: ['/build']
|
||||
clean: ['build/**']
|
||||
});
|
||||
|
||||
// Load the plugin that provides the "uglify" task.
|
||||
|
||||
Reference in New Issue
Block a user