10.4.2 • Published 1 year ago
@bundled-es-modules/glob v10.4.2
glob
This is a mirror of glob, bundled and exposed as dual publish CJS & ES module.
In addition, it exposes a browser entrypoint that works in browsers without any additional build tool transformations.
This comes with a patch of path-scurry, where we just assume the fs option is always passed to glob.
Therefore, with this mirror of glob, you MUST always pass the fs property in the options parameter when inside browser environment
In Node environment, we just use a re-export of
globorigin, as it now exposes both ESM + CJS
Install
npm install @bundled-es-modules/globUse
<script type="module">
import glob from '@bundled-es-modules/glob';
</script>