chibat / chrome-extension-typescript-starter

Chrome Extension TypeScript Starter
MIT License
2.39k stars 403 forks source link

Update minimum version of webpack #43

Closed nullterminated closed 2 years ago

nullterminated commented 2 years ago

When using latest node, webpack produces an error,

Error: error:0308010C:digital envelope routines::unsupported

https://github.com/webpack/webpack/issues/14532

This is due to the webpack version being 5.53.0 when running npm install. The error is fixed in 5.61.0 by the following merged pull request,

https://github.com/webpack/webpack/pull/14584

https://github.com/webpack/webpack/releases/tag/v5.61.0

When I set 5.61.0 as the minimum I now get 5.72.0 version which is latest. Build completes without error.

chibat commented 2 years ago

Thank you.