Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Releases: samrith-s/parcel-plugin-structurize

v2.4.4

28 May 16:25
Compare
Choose a tag to compare
  • Update package to fix vulnerabilities.

v2.4.3

27 Apr 07:22
Compare
Choose a tag to compare
  • Fixes #36 with the PR #37 by @NicolasReibnitz
    • This fix updates all occurrence of a certain URL within a file instead of just the first which resulted in broken links and errors

v2.4.2

26 Apr 17:50
Compare
Choose a tag to compare
  • The edge-case encountered in v2.4.1 is unfortunately not solvable with the current structure of Parcel as the bundler does not return any information about what referenced the image. Hence, the above change has been reverted.

v2.4.1

26 Apr 17:46
Compare
Choose a tag to compare
  • Added documentation for flatten to README
  • Removed extra dependencies for tests and general wear and tear
  • Handled an edge-case where when images are referenced via an anchor tag (<a href="images/cat.jpg">Cat</a>), they are not treated the same way as via an image tag.

v2.4.0

15 Mar 16:16
Compare
Choose a tag to compare

There have been quite a few issues as pointed out in #13. This release addresses the issue and adds some extra configuration options to better tackle it.

  • Added flatten to Structurizer. The flatten option is used in conjunction with nested HTML files in your source which Parcel by default does not output in a flat structure.
{
    "rules": [
        {
            "match": "*.js",
            "folder": "js",
            "flatten": true
        }
    ]
}
  • Delete all empty folders after structurization.

v2.3.5

15 Mar 13:00
Compare
Choose a tag to compare
  • Fix #31
    • Plugin now takes into account the relative name (if it exists) rather than just the name, to account for relative paths within the output directory
    • Skips replacing if the current dependent does not exist

v2.3.4

13 Mar 15:38
Compare
Choose a tag to compare
  • Update package to fix vulnerabilities.

v2.3.3

13 Mar 15:08
Compare
Choose a tag to compare

Note: The plugin now only rewrites assets which reference other files and are generated by Parcel (.html. .css, .js, *.map extensions)

v2.3.2

06 Jan 22:52
Compare
Choose a tag to compare
  • Update package to fix vulnerabiities.

v2.3.1

14 Dec 12:05
Compare
Choose a tag to compare
  • Update packages to fix vulnerabilities.