diff options
| author | akpu1 <akpu1@inventati.org> | 2016-06-18 07:08:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-18 07:08:16 +0200 |
| commit | 786a3d7ad13c36645fbf9a6f0c64444dad5d017e (patch) | |
| tree | eb224aa481ba39f22fca258940e4468b9bfdfb64 /Gruntfile.js | |
| parent | 74064dbfe4dd1a05a145d33b51d02e0bc7f1f23e (diff) | |
Replaced dist{...} with dist.json
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 20 |
1 files changed, 1 insertions, 19 deletions
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: { |
