mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Delete twitter-cache.json on prod build
This commit is contained in:
parent
5d53e9248b
commit
55af1c61e5
@ -3,11 +3,11 @@ const { src } = require('gulp');
|
||||
const clean = require('gulp-clean');
|
||||
|
||||
module.exports = exports = function cleanDistribution () {
|
||||
return src([ 'dist', 'rev-manifest.json', 'posts.json', 'posts-sans.json' ], { read: false, allowEmpty: true })
|
||||
return src([ 'dist', 'rev-manifest.json', 'pages.json', 'twitter-cache.json' ], { read: false, allowEmpty: true })
|
||||
.pipe(clean());
|
||||
};
|
||||
|
||||
exports.dev = function cleanDistributionForDev () {
|
||||
return src([ 'dist/**.{js|json|jsx}', 'rev-manifest.json', 'posts.json', 'posts-sans.json' ], { read: false, allowEmpty: true })
|
||||
return src([ 'dist/**.{js|json|jsx}', 'rev-manifest.json', 'pages.json' ], { read: false, allowEmpty: true })
|
||||
.pipe(clean());
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user