From 786a3d7ad13c36645fbf9a6f0c64444dad5d017e Mon Sep 17 00:00:00 2001 From: akpu1 Date: Sat, 18 Jun 2016 15:08:16 +1000 Subject: Replaced dist{...} with dist.json --- Gruntfile.js | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 4438b94..18318b0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -2,25 +2,7 @@ module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), swig: { - dist: { - init: { - allowErrors: false - }, - banners: grunt.file.readJSON('templates/banners.json'), - dest: 'dist', - generateRobotstxt: false, - generateSitemap: false, - max_upload_size: 128, - pkgVersion: '<%= pkg.version %>', - production: false, - siteName: 'Pantsu', - siteUrl: 'https://pantsu.cat/', - src: [ - 'templates/index.swig', - 'templates/faq.swig', - 'templates/tools.swig' - ], - } + dist: grunt.file.readJSON('dist.json'), }, htmlmin: { dist: { -- cgit v1.2.3