diff --git a/Gruntfile.js b/Gruntfile.js index e5c5ca600..c58d9d239 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -111,7 +111,7 @@ module.exports = function (grunt) { }, fineuiJs: { - src: ["dist/polyfill.js", "dist/core.js", "dist/fix/fix.js", "dist/fix/fix.compact.js", "dist/base.js", "dist/case.js", "dist/widget.js", "dist/router.js", "ui/js/**/*.js", "ui/js/index.js"], + src: ["dist/polyfill.js", "dist/core.js", "dist/fix/fix.js", "dist/fix/fix.compact.js", "dist/base.js", "dist/case.js", "dist/widget.js", "dist/router.js"], dest: "dist/fineui.js" }, @@ -120,6 +120,11 @@ module.exports = function (grunt) { dest: "dist/fineui.css" }, + envJs: { + src: ["ui/js/**/*.js", "ui/js/index.js"], + dest: "dist/env.js" + }, + configJs: { src: ["demo/version.js"], dest: "dist/config.js"