Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support detection of node/npm apps #4

Merged
merged 1 commit into from
Dec 14, 2023
Merged

feat: support detection of node/npm apps #4

merged 1 commit into from
Dec 14, 2023

Conversation

ctrox
Copy link
Contributor

@ctrox ctrox commented Dec 14, 2023

This adds some more logic to also detect node-based frontend apps. The web-servers buildpack already takes care of running npm build but in case that happens we need to serve the resulting artifacts from /workspace/build. We do that by leveraging the libnodejs package to detect if we have a nodejs app and then we set the build directory as the webroot.

This adds some more logic to also detect node-based frontend apps. The
web-servers buildpack already takes care of running `npm build` but in
case that happens we need to serve the resulting artifacts from
`/workspace/build`. We do that by leveraging the libnodejs package to
detect if we have a nodejs app and then we set the build directory as the
webroot.
@ctrox ctrox merged commit 0d43ee3 into main Dec 14, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants