We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd37ba commit aaac07aCopy full SHA for aaac07a
packages/runtime/src/index.ts
@@ -216,8 +216,8 @@ const plugin: NetlifyPlugin & { onPreDev?: OnPreBuild; onDev?: OnPreBuild } = {
216
},
217
}
218
// The types haven't been updated yet
219
-const nextPlugin = (_inputs, { events }: { events: Set<string> }): NetlifyPlugin & { onPreDev?: OnPreBuild } => {
220
- if (!events.has('onPreDev')) {
+const nextPlugin = (_inputs, meta: { events: Set<string> }): NetlifyPlugin & { onPreDev?: OnPreBuild } => {
+ if (!meta?.events?.has('onPreDev')) {
221
return {
222
...plugin,
223
onEnd: ({ utils }) => {
0 commit comments