fix: correctly exclude entrypoint via environments#15868
Conversation
🦋 Changeset detectedLatest commit: 1cf9f29 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
|
Has this been tested with a Netlify project? When I did #15665 I recall trying environment config but thought that it wasn't being applied for some reason. |
Yeah I tested it and the build doesn't emit any warnings |
|
Let me try in astro.build real quick to make sure it doesn't fail the build, which is what was happening before #15665 |
|
astro.build works. I think the difference between this and what I tried before was I was using |
Yeah we should move away from |
Changes
Closes #15839
noExternalusing the properconfigEnvrionmenthook for node and netlify adaptersTesting
Manually tested. It was the only way. I'll do a preview release too
Docs