mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Merge pull request #406 in FS/freeswitch from ~JMESQUITA/freeswitch:feature/FS-8013-user-bower-to-install-javacript-dependencies to master
* commit '22658c79459926590a6b041812a23137fbd8a7c1': FS-8013 #resolve Make use of bower to manage dependencies and use wiredep to inject them on the main index.html file.
This commit is contained in:
@@ -26,12 +26,19 @@ module.exports = function (grunt) {
|
||||
livereload: true
|
||||
},
|
||||
files: [
|
||||
'index.html',
|
||||
'partials/{,*/}*.html',
|
||||
'js/{,*/}*.js',
|
||||
'images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
|
||||
]
|
||||
}
|
||||
},
|
||||
wiredep: {
|
||||
app: {
|
||||
src: ['index.html'],
|
||||
ignorePath: /\.\.\//
|
||||
}
|
||||
},
|
||||
connect: {
|
||||
options: {
|
||||
port: 9001,
|
||||
@@ -57,5 +64,5 @@ module.exports = function (grunt) {
|
||||
},
|
||||
});
|
||||
|
||||
grunt.registerTask('serve', ['connect:livereload', 'watch']);
|
||||
grunt.registerTask('serve', ['wiredep', 'connect:livereload', 'watch']);
|
||||
};
|
||||
|
Reference in New Issue
Block a user