https://github.com/farism/gulp-elm-find-dependencies
A gulp plugin wrapping find-elm-dependencies
https://github.com/farism/gulp-elm-find-dependencies
elm gulp gulp-plugin
Last synced: 5 months ago
JSON representation
A gulp plugin wrapping find-elm-dependencies
- Host: GitHub
- URL: https://github.com/farism/gulp-elm-find-dependencies
- Owner: farism
- License: mit
- Created: 2017-08-20T01:56:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T19:27:11.000Z (almost 8 years ago)
- Last Synced: 2025-01-29T13:17:26.221Z (6 months ago)
- Topics: elm, gulp, gulp-plugin
- Language: JavaScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-elm-find-dependencies [](https://circleci.com/gh/farism/gulp-elm-find-dependencies/tree/master)
Given an `*.elm` file, it will use [`find-elm-dependencies`](https://github.com/NoRedInk/find-elm-dependencies) to aggregate all of the dependencies for that tree. For each file found it will emit a vinyl object.
#### Example
```js
const elmFindDependencies = require('gulp-elm-find-dependencies')gulp.task('find-deps', () => {
return gulp.src('Main.elm')
.pipe(elmFindDependencies())
.pipe(gulp.dest('dependencies'))
})
```