Closed 3ub41r closed 3 years ago
I'm facing the same bug when trying to build my projects
here my rules config on package.json
and i got my css link are not correct
Version: 2.3.1
Thanks btw
Hello @xxidbr9 and @3ub41r thank you for the report!
Could you guys provide a minimal reproducible repository so I can debug it quicker?
Alternatively, can you set the verbose
and displayAssetsMap
option to true
in the config and copy-paste the output here?
{
"verbose": true,
"displayAssetsMap": true,
"rules": [
// your rules
]
}
Sorry for the delayed response, I was on vacation.
I'm facing the same bug when trying to build my projects
here my rules config on package.json
and i got my css link are not correct
Version: 2.3.1
Thanks btw
For this particular thing, can you try removing all *.*.map
? The plugin automatically moves all the corresponding map files to the relevant directory. So the JS and CSS maps would be moved automatically. See the second Gotcha.
@3ub41r @xxidbr9 I tried both your config files, and everything works fine on my end. You can check it here:
You can also check that all the tests pass for all the supported Node versions and all OSes.
yes it fix, thanks alot 🎉👏🏻
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Some of the assets are not properly referenced.
This is my
parcel-plugin-structurize.json
file:Expected behavior
I have configured the plugin to move
.css
files to the directorycss
.The files are moved appropriately, but when it is referenced from the HTML the directory is not taken into consideration. I have included a screenshot of the generated HTML to illustrate what I mean.
Screenshots
This is the generated HTML.
Information
Thanks for all your effort. I not very proficient in Javascript, sorry. Let me know if there is something I've missed.