From 48b851ba763e29e9fc63ebf4cf9f614815f0ce19 Mon Sep 17 00:00:00 2001 From: "windhamwong@nva-hk.com" Date: Wed, 14 Jun 2017 15:30:14 +0100 Subject: [PATCH] Fixing issues on packing images into build #webpack #base64 #loader --- Gruntfile.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index c3b0e49f..4b9b680c 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -206,14 +206,14 @@ module.exports = function (grunt) { limit: 10000 } }, - { // First party images are saved as files to be cached - test: /\.(png|jpg|gif|svg)$/, - exclude: /node_modules/, - loader: "file-loader", - options: { - name: "images/[name].[ext]" - } - }, + // { // First party images are saved as files to be cached + // test: /\.(png|jpg|gif|svg)$/, + // exclude: /node_modules/, + // loader: "file-loader", + // options: { + // name: "images/[name].[ext]" + // } + // }, { // Third party images are inlined test: /\.(png|jpg|gif|svg)$/, exclude: /web\/static/, @@ -321,7 +321,7 @@ module.exports = function (grunt) { }, src: "build/prod/index.html", dest: "build/prod/index.html" - } + }, }, chmod: { build: {