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

webpack build errors out on "fs" and "child_process" #27

Open
anoblet opened this issue May 9, 2019 · 1 comment
Open

webpack build errors out on "fs" and "child_process" #27

anoblet opened this issue May 9, 2019 · 1 comment

Comments

@anoblet
Copy link
Owner

anoblet commented May 9, 2019

webpack-dev-server --mode development works
webpack doesn't

dev-server was fixed by adding:

  externals: [
    {
      xmlhttprequest: "{XMLHttpRequest:XMLHttpRequest}"
    }
  ]

ouput is fine, but console displays errors?

@anoblet
Copy link
Owner Author

anoblet commented Jun 2, 2019

Serve and build work correctly. Build displays an error.

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