Browse Source

chore: 提供不含normalize的css

es6
iapyang 5 years ago
parent
commit
9bb41e6731
  1. 18
      Gruntfile.js

18
Gruntfile.js

@ -130,11 +130,21 @@ module.exports = function (grunt) {
dest: "dist/bundle.css" dest: "dist/bundle.css"
}, },
bundleWithoutNormalizeCss: {
src: ["dist/core_without_normalize.css", "dist/base.css", "dist/widget.css", "public/css/app.css", "public/css/**/*.css", "fineui.typescript.css"],
dest: "dist/bundle_without_normalize.css"
},
versionFineuiCss: { versionFineuiCss: {
src: ["dist/bundle.css"], src: ["dist/bundle.css"],
dest: "dist/2.0/fineui.css" dest: "dist/2.0/fineui.css"
}, },
versionFineuiWithoutNormalizeCss: {
src: ["dist/bundle_without_normalize.css"],
dest: "dist/2.0/fineui_without_normalize.css"
},
fineuiJs: { fineuiJs: {
src: ["dist/es5.polyfill.js","dist/polyfill.js", "dist/core.js", "dist/fix/fix.js", "dist/base.js", src: ["dist/es5.polyfill.js","dist/polyfill.js", "dist/core.js", "dist/fix/fix.js", "dist/base.js",
"dist/case.js", "dist/widget.js", "dist/router.js", "dist/fix/fix.compact.js", "ui/js/**/*.js"], "dist/case.js", "dist/widget.js", "dist/router.js", "dist/fix/fix.compact.js", "ui/js/**/*.js"],
@ -313,7 +323,13 @@ module.exports = function (grunt) {
src: "<%= concat.versionFineuiCss.dest %>", src: "<%= concat.versionFineuiCss.dest %>",
dest: "dist/2.0/fineui.min.css" dest: "dist/2.0/fineui.min.css"
} },
versionFineuiWithoutNormalizeMinCss: {
src: "<%= concat.versionFineuiWithoutNormalizeCss.dest %>",
dest: "dist/2.0/fineui_without_normalize.min.css"
},
}, },
jshint: { jshint: {

Loading…
Cancel
Save