using memfs with webpack #16517
arunkumar413
started this conversation in
General
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I'd like to use a virtual file system for input and output options. Could you please share more info on how to use memfs with webpack.
I referred to this doc ( https://webpack.js.org/api/node/#custom-file-systems). It uses
require
statements but I'd like to use import statements.Is the below code snippet the correct approach to use
memfs
with webpack? If not please share the correct code.Beta Was this translation helpful? Give feedback.
All reactions