question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline CSS for all publicURL not only /

See original GitHub issue

Do you want to request a feature or report a bug? Feature

What is the current behaviour? CLI Inlines all CSS when publicPath is / as mentioned by @prateekbh in #908

If the current behaviour is a bug, please provide the steps to reproduce. This is not a bug but can we have config change which Inlines CSS for all publicPath.

What is the expected behaviour? This is the expected behavior.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Faisal-Manzercommented, Jan 6, 2020

I can share preact.config.js as my repo is private.

0reactions
Faisal-Manzercommented, Jan 23, 2020

Any workaround for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

publicUrl is not applied to background url's in CSS selectors.
bug report When publicUrl is set, it should be applied to all url paths within html tags and css selectors. However, after running...
Read more >
CSS works inline but not in stylesheet - Stack Overflow
My inline css was style="padding-left:20px;" Which I wanted to replace with: class="padleft" My solution stylesheet was .padleft {padding-left:20px ...
Read more >
Features | Vite
Vite only performs transpilation on .ts files and does NOT perform type checking. ... Any CSS file ending with .module.css is considered a...
Read more >
HTML and Static Assets - Vue CLI
During this compilation process, all asset URLs such as <img src="..."> , background: url(...) and CSS @import are resolved as module ...
Read more >
Static files — Xitrum Scala Web Framework Guide 3.28.6 ...
<img src={publicUrl("img/myimage.png")} />. To serve normal file in development environment and its minimized version in production environment (mystyle.css ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found