|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | {
|
|---|
| 2 | "definitions": {
|
|---|
| 3 | "HashFunction": {
|
|---|
| 4 | "description": "Algorithm used for generation the hash (see node.js crypto package).",
|
|---|
| 5 | "anyOf": [
|
|---|
| 6 | {
|
|---|
| 7 | "type": "string",
|
|---|
| 8 | "minLength": 1
|
|---|
| 9 | },
|
|---|
| 10 | {
|
|---|
| 11 | "instanceof": "Function",
|
|---|
| 12 | "tsType": "typeof import('../../../lib/util/Hash')"
|
|---|
| 13 | }
|
|---|
| 14 | ]
|
|---|
| 15 | }
|
|---|
| 16 | },
|
|---|
| 17 | "title": "HashedModuleIdsPluginOptions",
|
|---|
| 18 | "type": "object",
|
|---|
| 19 | "additionalProperties": false,
|
|---|
| 20 | "properties": {
|
|---|
| 21 | "context": {
|
|---|
| 22 | "description": "The context directory for creating names.",
|
|---|
| 23 | "type": "string",
|
|---|
| 24 | "absolutePath": true
|
|---|
| 25 | },
|
|---|
| 26 | "hashDigest": {
|
|---|
| 27 | "description": "The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.",
|
|---|
| 28 | "enum": [
|
|---|
| 29 | "base64",
|
|---|
| 30 | "base64url",
|
|---|
| 31 | "hex",
|
|---|
| 32 | "binary",
|
|---|
| 33 | "utf8",
|
|---|
| 34 | "utf-8",
|
|---|
| 35 | "utf16le",
|
|---|
| 36 | "utf-16le",
|
|---|
| 37 | "latin1",
|
|---|
| 38 | "ascii",
|
|---|
| 39 | "ucs2",
|
|---|
| 40 | "ucs-2"
|
|---|
| 41 | ]
|
|---|
| 42 | },
|
|---|
| 43 | "hashDigestLength": {
|
|---|
| 44 | "description": "The prefix length of the hash digest to use, defaults to 4.",
|
|---|
| 45 | "type": "number",
|
|---|
| 46 | "minimum": 1
|
|---|
| 47 | },
|
|---|
| 48 | "hashFunction": {
|
|---|
| 49 | "description": "The hashing algorithm to use, defaults to 'md4'. All functions from Node.JS' crypto.createHash are supported.",
|
|---|
| 50 | "oneOf": [
|
|---|
| 51 | {
|
|---|
| 52 | "$ref": "#/definitions/HashFunction"
|
|---|
| 53 | }
|
|---|
| 54 | ]
|
|---|
| 55 | }
|
|---|
| 56 | }
|
|---|
| 57 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.