我看到这个错误 "Module not found: Error: Can't resolve 'fs' in .....",解决方案是:
然而我不知道"fs:false"或"empty"是什么意思?
// webpack 4
node: {
fs: "empty"
}
//webpack5
resolve: {
extensions: [".ts", ".tsx", ".js", ".css"],
fallback: {
fs: false,
},
},
然而我不知道"fs:false"或"empty"是什么意思?