snowpack-graphql-ppx

1.0.0 • Public • Published

snowpack-graphql-ppx

A tiny Snowpack plugin to support ReScript/ReasonML GraphQL PPX

As you can see in https://github.com/reasonml-community/graphql-ppx/issues/199, the PPX outputs CommonJS (require) instead of ES6 (import). This little Snowpack plugin solves this issue by simply providing a helper require function and importing the appropriate module in each module using the PPX.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i snowpack-graphql-ppx

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

2.27 kB

Total Files

4

Last publish

Collaborators

  • laegel