vulcan-loader

0.0.1 • Public • Published

Vulcan-loader

A Webpack loader for Vulcan.js packages.

**/!\ This package is still experimental, use with caution. **

This package will replace meteor/vulcan-* imports by path to your local Vulcan installation. This allows use Vulcan with Jest or Storybook by replacing Meteor build system with Webpack.

Constraints

  • For this to work, you need to setup a 2-repo install.
  • In a client environment, the loader will look for the following file: your-vulcan-package/lib/client/main.js. Vulcan packages that do not respect this path structure can't be imported

Loader options

  • exclude: Vulcan packages ignored by the loader. Use to mock some packages.
  • vulcanPackagesDir: absolute path to your Vulcan/packages folder
  • environment: client or server.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i vulcan-loader

      Weekly Downloads

      9

      Version

      0.0.1

      License

      MIT

      Unpacked Size

      2.72 kB

      Total Files

      4

      Last publish

      Collaborators

      • eric-burel