diff --git a/.npmignore b/.npmignore index a8fe20407f..2f7329683b 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,7 @@ !src/less/*.less !src/less/lib/*.less !src/less/resource/*.less +!dist/font.css !dist/lib/*.d.ts !dist/lib/**/*.d.ts !dist/fineui.css diff --git a/Gruntfile.js b/Gruntfile.js index e471ac723f..b1f116969d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -104,6 +104,10 @@ module.exports = function (grunt) { src: ["src/css/resource/**/*.css"], dest: "dist/resource.css" }, + fontCss: { + src: ["public/css/font.css"], + dest: "dist/font.css" + }, bundleJs: { src: ["dist/core.js", "dist/fix/fix.js", "dist/base.js", "dist/case.js", "dist/widget.js", "dist/fix/fix.compact.js", "dist/router.js", "public/js/**/*.js", "public/js/index.js", "i18n/i18n.cn.js"],