Bridgetown v0.10.2 Release Notes

Release Date: 2020-04-19 // almost 4 years ago
  • 0.10.2 / 2020-04-19

    ๐Ÿ”Œ Automatic Yarn Step for New Plugins

    ๐Ÿ”Œ Now with Gem-based plugins for Bridgetown, all you need to do is add yarn-add
    ๐Ÿ“‡ metadata matching the NPM package name and keep the version the same as the Gem
    ๐Ÿ”– version. For example:

    spec.metadata = { "yarn-add" =\> "my-awesome-plugin@#{MyAwesomePlugin::VERSION}" }
    

    ๐Ÿ“‡ With that bit of metadata, Bridgetown will know always to look for that package in
    ๐Ÿ“ฆ the users' package.json file when they load Bridgetown, and it will trigger a
    ๐Ÿ“ฆ yarn add command if the package and exact version number isn't present.

    #8

    0.10.1 / 2020-04-18

    โž• Add {% webpack_path [js|css] } tag which pulls in the Webpack manifest and finds
    the hashed output bundles. Also works in concert with the Watcher so every time
    Webpack rebuilds the bundles, Bridgetown regenerates the site.

    #6