website: fix docsearch sourcemap and do not add banner to break json files
@@ -101,8 +101,8 @@ module.exports = function(grunt) {
}
},
concat: {
- options: { banner: dstFileBanner },
vendor: {
+ options: { banner: dstFileBanner },
src: [
"public/assets/skin/bootstrap/bootstrap.min.css",
"node_modules/highlight.js/styles/github.css",
@@ -114,9 +114,9 @@ module.exports = function(grunt) {
],
dest: "public/assets/skin/vendor.css"
},
- docsearchcss: {
- src: ["node_modules/docsearch.js/dist/cdn/docsearch.min.css"],
- dest: "public/vendor/docsearch.min.css"
+ docsearchcssmap: {
+ src: ["node_modules/docsearch.js/dist/cdn/docsearch.min.css.map"],
+ dest: "public/assets/skin/docsearch.min.css.map"
},
docsearchjs: {
src: ["node_modules/docsearch.js/dist/cdn/docsearch.min.js"],
