image optimization
This commit is contained in:
parent
47ac0b329c
commit
7b04c35c94
7 changed files with 85 additions and 18 deletions
|
|
@ -5,7 +5,7 @@ export default class CompileTimeJS extends Plugin {
|
|||
rewriteTriggers = ["html", "*"]
|
||||
longLasting = false;
|
||||
build = undefined;
|
||||
|
||||
|
||||
async rewriteFile(file: string, filePath: string): Promise<string> {
|
||||
let input = file;
|
||||
const regex = /{&(.+)&}/gms;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue