mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
Added support for svgs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
const path = require('path');
|
||||
const { pick, each } = require('lodash');
|
||||
const { pick } = require('lodash');
|
||||
const actions = require('./actions');
|
||||
const File = require('./file');
|
||||
const { TYPE } = require('./resolve');
|
||||
@@ -56,7 +56,7 @@ module.exports = exports = class Asset extends File {
|
||||
height,
|
||||
} ];
|
||||
|
||||
if (this.preprocessed) {
|
||||
if (this.preprocessed || this.ext === '.svg') {
|
||||
this._tasks = [ {
|
||||
output: this.out,
|
||||
input: this.input,
|
||||
|
||||
Reference in New Issue
Block a user