[proposal] Ability to provide a provider for the File System
See original GitHub issueSorry for removed issue template. But looks irrelevant to question/rfc.
Problem: run fast-glob
in non node env (i.e. browser/electron and etc).
Why: I contribute webpack
and we have webpack
bundle for run his in browser. For better zero configuration we want implement auto remove dist
directory before each build (https://github.com/webpack/webpack/pull/7215). We use del
package based on globby
(i think del
upgrade to latest globby in near future). globby
use fast-glob
in lastest version. But fast-glob
use node fs
module and it is and this makes the plugin not working in other environments.
Solutions:
- Provide option/API to replace
fs
on own implementation (inwebpack
we haveoutputFileSystem
which implementfs
interface for other env). - Create separate bundles for each env (looks difficult and overhead).
Additional benefits:
- Allow to implement playground with
fast-glob
. - Allow to implement glob as filter in browser file managers.
What do you think about this?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
RFP-Managed-File-Transfer.pdf - DBHIDS
E. A cost proposal must be provided based upon your best understanding of the scope of the project and the product and services...
Read more >RFP: What a Request for Proposal Is, Requirements, and a ...
A request for proposal (RFP) is a business document that announces a project, describes it, and solicits bids from qualified contractors to complete...
Read more >Request for Proposal (RFP) Template - HealthIT.gov
This template can be used to structure requests for vendors to send proposals on the specific health IT that needs to be acquired....
Read more >io/fs: add writable interfaces · Issue #45757 · golang/go - GitHub
Go 1.16 introduced the embed and io/fs packages. The current implementation is a minimal readable filesystem interface.
Read more >5-3 Preparing Technical Proposals for Government Contracting
The technical evaluation of a proposal is made by technical specialists or subject matter experts (SMEs) who are deliberately not shown the costs....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mrmlnc We want to use this package for
CleanerWebpackPlugin
, we havememory-fs
in watch mode, so we need support to set anyfs
(yep we keep compatibility with originalfs
)This issue will be solved with release
fast-glob@3
where we introduce thefs
option. You can check release issue #181.