@@ -95,19 +95,16 @@ matches one of the expressions, it inherits the configuration properties.
95
95
The following properties are accepted:
96
96
97
97
- ` externalNodeModules `
98
-
99
98
- _ Type_ : ` array<string> `
100
99
101
100
List of Node modules to include separately inside a node_modules directory.
102
101
103
102
- ` ignoredNodeModules `
104
-
105
103
- _ Type_ : ` array<string> `
106
104
107
105
List of Node modules to keep out of the bundle.
108
106
109
107
- ` nodeBundler `
110
-
111
108
- _ Type_ : ` string `
112
109
- _ Default value_ : ` zisi `
113
110
@@ -116,7 +113,6 @@ The following properties are accepted:
116
113
When the value is ` esbuild_zisi ` , ` esbuild ` will be used with a fallback to ` zisi ` in case of an error.
117
114
118
115
- ` nodeSourcemap `
119
-
120
116
- _ Type_ : ` boolean `
121
117
- _ Default value_ : ` false `
122
118
@@ -126,20 +122,17 @@ The following properties are accepted:
126
122
Available only when ` nodeBundler ` is set to ` esbuild ` or ` esbuild_zisi ` .
127
123
128
124
- ` nodeVersion `
129
-
130
125
- _ Type_ : ` string ` \
131
126
- _ Default value_ : ` 18 `
132
127
133
128
The version of Node.js to use as the compilation target for bundlers. This is also used to determine the runtime
134
129
reported in the manifest. Any valid and supported Node.js version is accepted. Examples:
135
-
136
130
- ` 14.x `
137
131
- ` 16.1.0 `
138
132
- ` v18 `
139
133
- ` nodejs18.x ` (for backwards compatibility)
140
134
141
135
- ` rustTargetDirectory `
142
-
143
136
- _ Type_ : ` string `
144
137
- _ Default value_ : Path to a temporary directory
145
138
@@ -150,15 +143,13 @@ The following properties are accepted:
150
143
the target directory.
151
144
152
145
- ` name `
153
-
154
146
- _ Type_ : ` string `
155
147
- _ Default value_ : undefined
156
148
157
149
A name to use when displaying the function in the Netlify UI. Populates the ` displayName ` property in the functions
158
150
manifest for the specified function.
159
151
160
152
- ` generator `
161
-
162
153
- _ Type_ : ` string `
163
154
- _ Default value_ : undefined
164
155
0 commit comments