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