Skip to content

Repository to experiment and show an example with unhandled webpack config errors when using Razzle

Notifications You must be signed in to change notification settings

iliyanyotov/razzle-webpack-unhandled-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

razzle-webpack-unhandled-error

The purpose of this repository is to showcase a problem with unhandled errors when running the build script provided by Razzle with a problematic Webpack config extended as described in the docs.

In the example, I've used postinstall-postinstall and patch-package to debug the module directly, and apply the small fix to the try-catch block in the build script.

Before the patch there was no errors displayed, but the plugin wasn't added to the configuration.

The error is now displayed after the applied patch:

Image description

An pull request in the repository will be created with the applied fixed.

About

Repository to experiment and show an example with unhandled webpack config errors when using Razzle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published