-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
Describe the bug
Some Netlify integrations, such as the emails integration, auto generate functions prior to the build and these will exist in the functions-internal folder.
I am not totally aware of why the functions-internal directory is emptied currently by this adapter, however, by emptying the folder completely, any auto-generated functions will be deleted.
Reproduction
- Create any app using sveltekit
- Follow the steps to add the Netlify adapter
- Follow these docs to add the Netlify emails integration
- Run
netlify buildand observe that the emails function is create in.netlify/functions-internaland is then removed
Logs
No response
System Info
System:
OS: macOS 13.2
CPU: (10) arm64 Apple M1 Pro
Memory: 357.80 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.16.0/bin/yarn
npm: 9.1.1 - ~/.nvm/versions/node/v16.16.0/bin/npm
Browsers:
Chrome: 109.0.5414.119
Firefox: 108.0.1
Safari: 16.3
npmPackages:
@sveltejs/adapter-auto: ^1.0.0 => 1.0.2
@sveltejs/adapter-netlify: ^1.0.5 => 1.0.5
@sveltejs/kit: ^1.0.0 => 1.3.10
svelte: ^3.54.0 => 3.55.1
vite: ^4.0.0 => 4.1.1Severity
annoyance
Additional Information
No response