docs: add recommendation to use fsprovider alias in README.md

This commit is contained in:
bcheidemann 2021-02-20 03:54:01 +00:00
parent f12f01dca0
commit 4d4b6bf3f3
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ The current options for file system providers are:
* IndexedDB - filer/shims/providers/default.js
* Memory - filer/shims/providers/memory.js
Though it's technically optional, it is recommended to include an alias for fsprovider in your
webpack config. This will prevent webpack from logging unnecessary warnings.
The node.js [path module](http://nodejs.org/api/path.html) also has a shim available, which can
be applied in a similar manner to the node.js [fs module](http://nodejs.org/api/fs.html) shim.