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

fix(cli,serverless): correctly bundle and deploy assets #160

Merged
merged 6 commits into from
Oct 1, 2022

Conversation

QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented Oct 1, 2022

About

Assets in the public folder (or the public folder specified using -p) weren't bundled and deployed.
This PR bundle all assets and:

  • Outputs them in .lagon when using lagon build
  • Send them to the API with the correct MIME type
    Then, serverless correctly handles all assets, which are all prefixed by public/.

@QuiiBz QuiiBz merged commit 94c14ac into main Oct 1, 2022
@QuiiBz QuiiBz deleted the refactor/cli-bundling branch October 1, 2022 09:22
@github-actions github-actions bot mentioned this pull request Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant