@engraft/vendor-voyager

0.0.8 • Public • Published

@engraft/vendor-voyager

This package vendors in a compiled, slightly patched version of Voyager. It is used in @engraft/tool-voyager.

(Why? The bundled version of Voyager available on npm does not expose the bits we want. We can't access unbundled bits because that exposes unbuilt pieces like Sass, and that's a mess. Hence, we need to patch. Compiling a patched version requires an older version of Node (16), so it's easier to just build it separately and then copy it in here.)

Note: For this package to compile with Vite, we need to add it to the optimizeDeps list in the monorepo's root vite.config.ts:

    optimizeDeps: {
      include: [
        "@engraft/vendor-voyager",
      ]
    }

Also note that Voyager's styles have been moved to @engraft/tool-voyager because it was too much trouble to keep them here (ES vs CJS issues).

Readme

Keywords

none

Package Sidebar

Install

npm i @engraft/vendor-voyager

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

8.74 MB

Total Files

5

Last publish

Collaborators

  • joshuahhh