Modify build process
This commit is contained in:
parent
815ed887f4
commit
9a7d00781f
@ -1,5 +1,5 @@
|
||||
module.exports = function(grunt) {
|
||||
var libs = "client/js/**/*.js";
|
||||
var libs = "client/js/libs/**/*.js";
|
||||
grunt.initConfig({
|
||||
watch: {
|
||||
files: libs,
|
||||
@ -11,7 +11,7 @@ module.exports = function(grunt) {
|
||||
},
|
||||
js: {
|
||||
files: {
|
||||
"client/build/build.js": libs
|
||||
"client/js/libs.min.js": libs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -219,10 +219,10 @@
|
||||
<script src="js/libs/socket.io.js"></script>
|
||||
<script src="js/libs/string.contains.js"></script>
|
||||
<script src="js/libs/uri.js"></script>
|
||||
<script src="js/shout.js"></script>
|
||||
<script src="js/shout.templates.js"></script>
|
||||
<% } else { %>
|
||||
<script src="build/build.js"></script>
|
||||
<script src="js/libs.min.js"></script>
|
||||
<script src="js/shout.templates.js"></script>
|
||||
<script src="js/shout.js"></script>
|
||||
<% } %>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user