1.1.1 • Published 7 years ago

poi-preset-elm v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

poi-preset-elm

Use Poi to build your Elm apps.

Install

yarn add poi-preset-elm --dev

Usage

// poi.config.js
module.exports = {
  presets: [
    require('poi-preset-elm')(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