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

Wrong or Missing exsternal css in production mode #217

Closed
vincenzopalazzo opened this issue Mar 26, 2021 · 9 comments
Closed

Wrong or Missing exsternal css in production mode #217

vincenzopalazzo opened this issue Mar 26, 2021 · 9 comments
Labels
✘ bug Something isn't working

Comments

@vincenzopalazzo
Copy link

vincenzopalazzo commented Mar 26, 2021

I'm running my app in dev mode and I see all the style good, like that

Screenshot from 2021-03-26 21-18-40

But is I mode the app in production mode, I see the following effect

Screenshot from 2021-03-26 21-19-52

All the CSS from material UI is missed.

Version: alpha18

Sorry if I open a lot of issue but I'm starting with this stuff and I need time before start to contribute

@shadowtime2000 shadowtime2000 added the ✘ bug Something isn't working label Mar 27, 2021
@ije
Copy link
Member

ije commented Mar 27, 2021

any message print?

@vincenzopalazzo
Copy link
Author

During the build phases?

@ije
Copy link
Member

ije commented Mar 27, 2021

in Devtools console

@vincenzopalazzo
Copy link
Author

no any, you can run the app and make all test, in Italy are 2am and I'm going to sleep, sorry

The app is here https://github.com/clightning4j/ln-sanitycheck

@alecandido
Copy link

More or less same problem here:

  • both in SSR production and SSG, the style it is not properly managed (while it works wonderfully for aleph dev)
  • I'm using styled-components, but even style rules in standalone sheets seem not to be applied (but they seem to in the example scaffolding aleph init ...)
  • I also tried to delete .aleph like in Missing Styles in Production Mode #130 , nothing changed

@ije
Copy link
Member

ije commented May 16, 2021

@alecandido which version you are use?

@alecandido
Copy link

aleph.js v0.3.0-alpha.33
deno 1.10.1

Unfortunately with former versions I was not even able to run aleph start and aleph build, for some reason it was raising errors (I actually investigated a bit and it looked like it was already solved in the unreleased version, so I've just waited).

@ije
Copy link
Member

ije commented Aug 24, 2021

beta version should fixed this since the css loader has been rewrited

@ije
Copy link
Member

ije commented Sep 20, 2021

close ref #388

@ije ije closed this as completed Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✘ bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants