mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
cleanup webpack plugin module
This commit is contained in:
parent
11154bf03d
commit
b1457ac0e7
@ -3,7 +3,7 @@ import crypto from "crypto"
|
|||||||
import path from "path"
|
import path from "path"
|
||||||
import { validate } from "schema-utils"
|
import { validate } from "schema-utils"
|
||||||
|
|
||||||
class SRIPlugin {
|
export default class SRIPlugin {
|
||||||
static defaultOptions = {
|
static defaultOptions = {
|
||||||
algorithm: "sha512",
|
algorithm: "sha512",
|
||||||
sourceFile: "assets.json"
|
sourceFile: "assets.json"
|
||||||
@ -53,5 +53,3 @@ class SRIPlugin {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default SRIPlugin
|
|
||||||
|
Loading…
Reference in New Issue
Block a user