How to use the node-elm-compiler.findAllDependencies function in node-elm-compiler

To help you get started, we’ve selected a few node-elm-compiler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github elm-community / elm-webpack-loader / index.js View on Github external
    function(f) { return elmCompiler.findAllDependencies(f) }
  ))
github tcoopman / elm-css-webpack-loader / index.js View on Github external
.then(function() {
      if (!options.cache || cachedDependencies.length === 0) {
        return elmCompiler.findAllDependencies(input).then(addDependencies.bind(this));
      }
      else {
        return null;
      }
    }.bind(this));

node-elm-compiler

A Node.js interface to the Elm compiler binaries.

BSD-3-Clause
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis