1.0.0 ā€¢ Published 6 years ago

@webpack-blocks/elm v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

webpack-blocks - Elm

Gitter chat JavaScript Style Guide NPM Version

This is the elm block providing Elm configuration using the elm-webpack-loader.

Usage

const { createConfig } = require('@webpack-blocks/webpack')
const elm = require('@webpack-blocks/elm')

module.exports = createConfig([
  elm(/* options */)
])

You can use match() to customize which files to load using the elm loader.

Options

maxInstances (optional)

Number uset to set maxInstances of elm that can spawned. This should be set to a number less than the number of cores your machine has. The ideal number is 1, as it will prevent Elm instances causing deadlocks.

cwd (optional)

String which specify a custom location within your project for your elm files.

webpack-blocks

Check out the

šŸ‘‰ Main documentation

Released under the terms of the MIT license.