# Wix-Patterns-utils

## [copy-bundled-modules.ts](scripts/copy-bundled-modules.ts) 

Copies bundled modules from `node_modules`. 
> This is not meant for extensive use, but rather for the few modules that are not published on public npm registry.

### Process
During the build process, the `copy-bundled-modules` script is executed. 
The list of modules to copy is defined inside the script.
The script copies the modules from `node_modules` directly under `packages/utils` (so if a new directory is added, it should be added to `.gitignore` & `package.json` -> `files` as well).
It also copies list of dependencies of each module to `packages/utils/package.json` (there's on option to ignore dependencies, if they're needed only in non-production entry points, i.e `@wix/bi-logger-testkit` required only via `@wix/bi-logger-os-data/testkit`).
