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 70ae294 commit 9ec7992Copy full SHA for 9ec7992
packages/runtime/src/index.ts
@@ -254,6 +254,10 @@ const plugin: NetlifyPlugin = {
254
warnForProblematicUserRewrites({ basePath, redirects })
255
warnForRootRedirects({ appDir })
256
await warnOnApiRoutes({ FUNCTIONS_DIST })
257
+
258
+ // we are removing metadata files from Publish directory
259
+ // we have to do this after functions were bundled as bundling still
260
+ // require those files, but we don't want to publish them
261
await removeMetadataFiles(publish)
262
263
if (experimental?.appDir) {
0 commit comments