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

De-duplicate bundling efforts #367

Merged
merged 9 commits into from Sep 5, 2022

Conversation

oogali
Copy link
Contributor

@oogali oogali commented Aug 31, 2022

Currently, there are some actions that are undertaken for building the project that duplicate esbuild plugin functionality.

This PR adds and configures said plugins, then removes the corresponding actions that were previously performed externally.

@netlify
Copy link

netlify bot commented Aug 31, 2022

Deploy Preview for bldrs-share ready!

Name Link
🔨 Latest commit cb54494
🔍 Latest deploy log https://app.netlify.com/sites/bldrs-share/deploys/6314272dd3135b0008af76fe
😎 Deploy Preview https://deploy-preview-367--bldrs-share.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@pablo-mayrgundter pablo-mayrgundter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to try this.. will do this weeken. I think I had the shared docs build for a reason.

@pablo-mayrgundter
Copy link
Member

TODO: if this goes in pls update https://github.com/bldrs-ai/Share/wiki/Dev:-Guide

@oogali
Copy link
Contributor Author

oogali commented Sep 3, 2022

I need to try this.. will do this weeken. I think I had the shared docs build for a reason.

yarn build-docs would remove the target directory and copy the static assets from public/ into it.

This functionality has not been removed. Instead, it is now performed by the esbuild plugins: cleanPlugin() and copyStaticFiles().

With the plugins in place, the yarn script is redundant.

@pablo-mayrgundter pablo-mayrgundter merged commit afab073 into bldrs-ai:main Sep 5, 2022
@oo-bldrs oo-bldrs mentioned this pull request Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

None yet

2 participants