Merge 48b851ba763e29e9fc63ebf4cf9f614815f0ce19 into 6d2e2259db0ae9bf76a46f43d3a325e0b96174d1

This commit is contained in:
Windham Wong 2017-06-16 15:50:55 +00:00 committed by GitHub
commit caaefa5d79

View File

@ -207,14 +207,14 @@ module.exports = function (grunt) {
limit: 10000 limit: 10000
} }
}, },
{ // First party images are saved as files to be cached // { // First party images are saved as files to be cached
test: /\.(png|jpg|gif|svg)$/, // test: /\.(png|jpg|gif|svg)$/,
exclude: /node_modules/, // exclude: /node_modules/,
loader: "file-loader", // loader: "file-loader",
options: { // options: {
name: "images/[name].[ext]" // name: "images/[name].[ext]"
} // }
}, // },
{ // Third party images are inlined { // Third party images are inlined
test: /\.(png|jpg|gif|svg)$/, test: /\.(png|jpg|gif|svg)$/,
exclude: /web\/static/, exclude: /web\/static/,
@ -322,7 +322,7 @@ module.exports = function (grunt) {
}, },
src: "build/prod/index.html", src: "build/prod/index.html",
dest: "build/prod/index.html" dest: "build/prod/index.html"
} },
}, },
chmod: { chmod: {
build: { build: {