This is the elm block providing Elm configuration using the elm-webpack-loader.
const{ createConfig }=require('@webpack-blocks/webpack')constelm=require('@webpack-blocks/elm')module.exports=createConfig([elm(/* options */)])You can use match() to customize which files to load using the elm loader.
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.
String which specify a custom location within your project for your elm files.
Check out the
Released under the terms of the MIT license.