pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Webpack should throw on non-allowlisted warnings

Open grahamlangford opened this issue 1 year ago • 1 comments

Motivation

  • See https://pixiebrix.slack.com/archives/C07FSHNJLTV/p1724167755751999

Acceptance Criteria

  • [ ] Missing imports throws
  • [ ] Webpack warnings are treated as errors
  • [ ] Allow-listed warnings are ignored

Notes

  • https://www.npmjs.com/package/warnings-to-errors-webpack-plugin
  • https://stackoverflow.com/questions/60092487/with-webpack-is-it-possible-to-force-warnings-to-be-treated-as-errors

grahamlangford avatar Aug 20 '24 15:08 grahamlangford