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:
- install https://github.com/ctf0/vue-notif
- follow the rdme for usage
- check console
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See this, probably same issue https://github.com/JeffreyWay/laravel-mix/issues/2678
sadly nothing new with the latest version
0.19
, issue still exist