We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you please remove .save()?
.save()
qrcode-svg/lib/qrcode.js
Lines 405 to 420 in 47d56ec
Saving files to disk is very easy in node and the developer can decide wether they need to use sync or async:
fs.writeFileSync("qr.svg", new QRCode("abc").svg());
The text was updated successfully, but these errors were encountered:
Met with the same issue.
Sorry, something went wrong.
I'm trying this in an angular project and having the same warning.
Projects that depend on fs, you can just add the code below to your webpack's configuration file:
fs
module.exports = { // ... node: { fs: 'empty', }, // ... };
With webpack 5/laravel-mix 6 this sould be:
mix.webpackConfig({ resolve: { fallback: { fs: false } } });
eval('require')
require
Successfully merging a pull request may close this issue.
Can you please remove
.save()
?qrcode-svg/lib/qrcode.js
Lines 405 to 420 in 47d56ec
Saving files to disk is very easy in node and the developer can decide wether they need to use sync or async:
The text was updated successfully, but these errors were encountered: