@netlify/build 18.19.1 → 18.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/config/build.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { PluginInputs } from './inputs'
|
|
2
|
-
|
|
3
|
-
interface NetlifyPlugin {
|
|
4
|
-
package: string
|
|
5
|
-
inputs: PluginInputs
|
|
6
|
-
}
|
|
7
|
-
|
|
8
1
|
/* eslint-disable camelcase -- some properties are named in snake case in this API */
|
|
9
2
|
|
|
10
3
|
export interface Build {
|
|
@@ -54,8 +47,6 @@ export interface Build {
|
|
|
54
47
|
compress?: boolean
|
|
55
48
|
}
|
|
56
49
|
}
|
|
57
|
-
|
|
58
|
-
plugins: readonly NetlifyPlugin[]
|
|
59
50
|
}
|
|
60
51
|
|
|
61
52
|
/* eslint-enable camelcase */
|
|
@@ -2,6 +2,7 @@ import { Many } from '../utils/many'
|
|
|
2
2
|
|
|
3
3
|
import { Build } from './build'
|
|
4
4
|
import { Functions } from './functions'
|
|
5
|
+
import { PluginInputs } from './inputs'
|
|
5
6
|
|
|
6
7
|
type HttpStatusCode = number
|
|
7
8
|
|
|
@@ -26,6 +27,11 @@ interface EdgeHandler {
|
|
|
26
27
|
handler: string
|
|
27
28
|
}
|
|
28
29
|
|
|
30
|
+
interface NetlifyPlugin {
|
|
31
|
+
package: string
|
|
32
|
+
inputs: PluginInputs
|
|
33
|
+
}
|
|
34
|
+
|
|
29
35
|
/* eslint-disable camelcase -- some properties are named in snake case in this API */
|
|
30
36
|
|
|
31
37
|
interface NetlifyConfig {
|
|
@@ -46,6 +52,7 @@ interface NetlifyConfig {
|
|
|
46
52
|
*/
|
|
47
53
|
functions: Functions
|
|
48
54
|
build: Build
|
|
55
|
+
plugins: readonly NetlifyPlugin[]
|
|
49
56
|
}
|
|
50
57
|
|
|
51
58
|
/* eslint-enable camelcase */
|