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.

url reference for package static assets is broken in v6

See original GitHub issue
  • Laravel Mix Version: #.#.# (npm list --depth=0) 6.0.3
  • Node Version (node -v): v15.4.0
  • NPM Version (npm -v): 6.14.9
  • OS: osx 10.15.7

Description:

i have a package that load static assets “svg file” based on conditions ex however even that the files are being copied to public ex.public/images/vendor/vue-notif/src/icons/baseline-check_circle-24px.svg the url is not correctly referenced as it used to in v5 & instead am getting http://demos.test/[object%20Module]

Steps To Reproduce:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
Ragashcommented, Dec 25, 2020
0reactions
ctf0commented, Jun 9, 2021

sadly nothing new with the latest version 0.19, issue still exist

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows staticDirs issue - Storybook not loading assets ...
Then when we run npm run start, Storybook starts and appears to be working fine, but none of the static assets can be...
Read more >
How to make react router work with static assets, html5 mode ...
It sounds like you have defined relative paths to your assets and icons in your CSS. background-image: url('assets/image/myicon.png').
Read more >
Static Asset Handling - Vite
url () references in CSS are handled the same way. If using the Vue plugin, asset references in Vue SFC templates are automatically...
Read more >
Static Assets - Docusaurus
Static assets are the non-code files that are directly copied to the ... In CSS, the url() function is commonly used to reference...
Read more >
Common Issues - Snipe-IT Documentation
The URL in your configuration must be the exact URL you use to access the site, or else you'll run into a CORS/domain...
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