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

Using package with github actions some inline css not loading #2491

Open
mstoyanovv opened this issue Sep 20, 2022 · 0 comments
Open

Using package with github actions some inline css not loading #2491

mstoyanovv opened this issue Sep 20, 2022 · 0 comments

Comments

@mstoyanovv
Copy link

Issue Summary

When using the package to deploy front end from github actions it builds with some inline css missing(material ui css) . Everything looks good when deploying from pc. The only way I could replicate that behaviour is if I use NODE_ENV=dev when deploying from local.

Actual behavior

Deploys front-end with broken inline css which leads to site 'blinking' for a second when first loaded.

Expected behavior

It should build and deploy website the same way it does when deploying from pc. If js is disabled site should still load the css.

Steps to reproduce

1.Deploy application via github actions using ubuntu
2.Disable javascript and open url returned from sls.

Versions

Ubuntu via GitHub CI
@sls-next/serverless-component latest
Next.js 12.3.0

@mstoyanovv mstoyanovv changed the title Using plugin with github actions Using package with github actions some inline css not loading Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant