@poi/plugin-elm

10.0.1 • Public • Published

plugin-elm

Use Poi to build your Elm apps.

Install

yarn add @poi/plugin-elm --dev

# Recommended to install `elm` locally too
# But it's optional if you have installed it globally
yarn add elm --dev

Usage

// poi.config.js
module.exports = {
  plugins: [
    require('@poi/plugin-elm')(options)
  ]
}

API

Options

options.loaderOptions

Type: object
Default:

{
  pathToMake: null, // Default to `node_modules/.bin/elm-make` if it exists, otherwise it uses global `elm-make`
  warn: true,
  debug: poi.options.mode !== 'production'
}

options for elm-webpack-loader.

License

MIT © EGOIST

Readme

Keywords

none

Package Sidebar

Install

npm i @poi/plugin-elm

Weekly Downloads

1

Version

10.0.1

License

MIT

Unpacked Size

2.2 kB

Total Files

4

Last publish

Collaborators

  • egoist
  • poi-owner
  • rem