mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-05 08:48:14 +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.loadNpmTasks('grunt-webpack');
|
||||||
|
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
pkg: '<json:package.json',
|
pkg: '<json:package.json>',
|
||||||
meta: {
|
meta: {
|
||||||
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
|
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
|
||||||
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
|
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
|
||||||
@@ -43,12 +43,12 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
lib_debug: {
|
lib_debug: {
|
||||||
src: "src/js/index.js",
|
src: "src/js/index.js",
|
||||||
dest: "build/ripple-<%= pkg.version %>.js",
|
dest: "build/ripple-<%= pkg.version %>-debug.js",
|
||||||
debug: true
|
debug: true
|
||||||
},
|
},
|
||||||
lib_min: {
|
lib_min: {
|
||||||
src: "src/js/index.js",
|
src: "src/js/index.js",
|
||||||
dest: "build/ripple-<%= pkg.version %>.js",
|
dest: "build/ripple-<%= pkg.version %>-min.js",
|
||||||
minimize: true
|
minimize: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user