Skip to content
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

Polyfills Missing - Leading to Manually Adding #57

Open
YanniTheDev opened this issue Dec 21, 2024 · 1 comment
Open

Polyfills Missing - Leading to Manually Adding #57

YanniTheDev opened this issue Dec 21, 2024 · 1 comment

Comments

@YanniTheDev
Copy link

In the webpack.config.js file, some lines of code are missing:

resolve: {
      fallback: { 
        "path": require.resolve("path-browserify"),
        "os": require.resolve("os-browserify/browser"),
        "crypto": require.resolve("crypto-browserify"), 
        "timers": require.resolve('timers-browserify') ,
        "buffer": require.resolve("buffer/"),
        "stream": require.resolve("stream-browserify")
      }
    },

I had to manually add these in when I ran npm run watch and the errors started showing.

Is it possible for you to add these in the future?

@YanniTheDev
Copy link
Author

There are also many others that are missing, which is dependent on what you are making. Things such as process should be defaultly in the resolve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant