@pika/plugin-source-bucklescript
A @pika/pack plugin:
Last updated a month ago by fredkschott .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @pika/plugin-source-bucklescript 
SYNC missed versions from official npm registry.

@pika/plugin-source-bucklescript

A @pika/pack build plugin. Builds ES2018 JavaScript from ReasonML or OCaml via BuckleScript.

Install

# npm:
npm install @pika/plugin-source-bucklescript --save-dev
# yarn:
yarn add @pika/plugin-source-bucklescript --dev

Usage

{
  "name": "example-package-json",
  "version": "1.0.0",
  "@pika/pack": {
    "pipeline": [
      ["@pika/plugin-source-bucklescript"],
      ["@pika/plugin-build-node"],
      ["@pika/plugin-build-web"],
      ["@pika/plugin-build-types"]
    ]
  }
}

For more information about @pika/pack & help getting started, check out the main project repo.

Result

Unlike other build plugins, this plugin reads directly from your package src/ directory. Make sure your code exists in a src/ directory, with an src/index.ml or src/index.re file acting as your package entrypoint.

Other build plugins will depend on the resulting distribution, so include this plugin early in your build pipeline for others to use.

  1. Adds a modern ES2018 distribution to your built package: dist-src/
  2. Adds an "esnext" entrypoint to your built package.json manifest.

Current Tags

  • 0.7.1                                ...           latest (a month ago)

14 Versions

  • 0.7.1                                ...           a month ago
  • 0.7.0                                ...           a month ago
  • 0.6.1                                ...           2 months ago
  • 0.6.0                                ...           3 months ago
  • 0.5.1                                ...           4 months ago
  • 0.5.0                                ...           4 months ago
  • 0.4.0                                ...           6 months ago
  • 0.3.16                                ...           7 months ago
  • 0.3.15                                ...           7 months ago
  • 0.3.14                                ...           8 months ago
  • 0.3.13                                ...           9 months ago
  • 0.3.12                                ...           9 months ago
  • 0.3.11                                ...           9 months ago
  • 0.3.10                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 35
Dependencies (3)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |