parcel-plugin-custom-dist-structure: Wrong file path links in development mode - HTML files

Hey @VladimirMikulic. Hope you’re keeping well!

As you can see in the example above, it’s loosing the correct path “/css/”, “/js/” and “/images/” in the compiled HTML(dist folder) file, BUT it only happens when the HTML(src folder) is modified.

Again, while i’m working on the SCSS file and saving, everything works fine. Once I change anything in the HTML, it breaks! I haven’t test anything with JS files at this point, so if you can run some tests…

<link rel="stylesheet" href="/styles.164d45a1.css"> <script src="/styles.164d45a1.js"></script> <img src="/illustration-office.db97d6a7.png" alt="">

Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 18 (11 by maintainers)

Most upvoted comments

Thank you @clovis-rosa for all the testing you did 👍 I apologise for the bugs in development mode, patches will land soon.