In case you’re using webpack you have to add fs to your config (as explained here ), like:
externals: {
...
fs: 'commonjs2 fs',
...
},
In case you’re using webpack you have to add fs to your config (as explained here ), like:
externals: {
...
fs: 'commonjs2 fs',
...
},