-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
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
Trouble With Webpack #51
Comments
@homerlex Hey, I think I found a working solution.
I hope I could help you :) |
Thanks @richard-llmnn - I will try your suggestion when I have the chance. |
Another solution to the problem, add to node: {
fs: "empty"
} For nuxt2, add to build: {
extend (config, context) {
if (context.isClient) {
config.node = {
fs: 'empty'
}
}
}
} |
@kshart Hello, how to configure Vue2? |
I'm trying to compile with webpack following the following example:
https://github.com/kbumsik/opus-media-recorder#simple-javascript-example-webpack
I have also added the following to my webpack.config:
https://github.com/kbumsik/opus-media-recorder/tree/master/example/webpack#webpackconfigjs
When I try to compile I get the following errors. Why is it trying to use "fs"?
The text was updated successfully, but these errors were encountered: