@trinitymirrordigital/dragonfly-find-files

5.0.6-alpha.0 • Public • Published

@trinitymirrordigital/dragonfly-find-files

A small package to find root JS & PUG files for webpack, designed to work with @trinitymirrordigital/webpack-config

Install

yarn add @trinitymirrordigital/dragonfly-find-files

Usage

const dragonflyFindFiles = require('@trinitymirrordigital/dragonfly-find-files');

const { entry } = await dragonflyFindFiles({
  searchJs: 'src/**/*!(.spec).js', //glob pattern for JS
  searchPug: 'src/**/*.pug', //glob pattern for PUG files
  searchScss: 'src/**/!(_)*.scss', //glob pattern for SASS files
  src: 'src', // root folder
  repoName: 'a-repo',
});

Copyright (c) 2022 "Reach Shared Services Ltd"

Readme

Keywords

none

Package Sidebar

Install

npm i @trinitymirrordigital/dragonfly-find-files

Weekly Downloads

4

Version

5.0.6-alpha.0

License

MIT

Unpacked Size

5.23 kB

Total Files

4

Last publish

Collaborators

  • tatianaguzun
  • jeffboyes
  • jay69arnie
  • sharmeela-j-milipixels
  • pruthvish-modi-milipixel
  • andy-bradshaw-reach
  • zecharias.reach
  • tanmayeebhagwat
  • matt-thomson-reach
  • tombarwickreach
  • louis14
  • mikehow
  • john.hodgson
  • thomas-reach
  • mattzuffolini
  • jackvarneyreachplc
  • kapilakshi
  • hardeep.singh.reachplc
  • funminiyi.adekunle
  • reach-ci
  • trinitymirrordigital-admin
  • cristiancondurache
  • dimitar-reach
  • jonsaunders