Open zeke opened 7 years ago
❯ package-size --version
1.1.1
hmm why do you want to see the bundle size of mocha? you will never use it in browser I guess and it only supports packages that can be used in browser.
Fair enough.. I just typed the first module name that came to mind. Maybe a more helpful error message would be good here.. something like "This doesn't appear to be a browser-friendly module"
Error: Can't resolve 'fs':
// webpack.config.js
node: {
fs: 'empty'
}
How did you resolve this ...
Error : (Critical dependency && /growl.js Module not found: Error: Can't resolve 'child_process' )
@ChenYangShao this is for browser libs, why does it require fs
?