mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 17:15:49 +00:00
Fix JS compile output file names.
This commit is contained in:
6
grunt.js
6
grunt.js
@@ -2,7 +2,7 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-webpack');
|
||||
|
||||
grunt.initConfig({
|
||||
pkg: '<json:package.json',
|
||||
pkg: '<json:package.json>',
|
||||
meta: {
|
||||
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
|
||||
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
|
||||
@@ -43,12 +43,12 @@ module.exports = function(grunt) {
|
||||
},
|
||||
lib_debug: {
|
||||
src: "src/js/index.js",
|
||||
dest: "build/ripple-<%= pkg.version %>.js",
|
||||
dest: "build/ripple-<%= pkg.version %>-debug.js",
|
||||
debug: true
|
||||
},
|
||||
lib_min: {
|
||||
src: "src/js/index.js",
|
||||
dest: "build/ripple-<%= pkg.version %>.js",
|
||||
dest: "build/ripple-<%= pkg.version %>-min.js",
|
||||
minimize: true
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user