anoblet / my-project

Starterkit based off lit-element - manages users, provides state, has a CRUD example,

Home Page:https://my-project-75792.firebaseapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

anoblet opened this issue · comments

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?

Serve and build work correctly. Build displays an error.