Can't resolve 'fs' using webpack and react
问题 I keep getting the error in the description when I try to build my application for my Node server. I am ultimately trying to read a .docx file for docxtemplater, but without 'fs' working, it's not looking to bright. I have tried to use the node:{fs:"empty"} workaround that I've seen on many solutions, but it's still giving me the same error or propagating up to the console when I am running it on the browser. Here is what I have in my webpack.config.js: var path = require('path'); var webpack