The explanation in the README was a bit of sleuthing to make sure we were updating all the paths that needed to be changed and checking that the CSS path changes in 6.0.0 will work for services and prototypes
Still need to package this locally and test in a prototype, tested locally and it works
(tested by doing npm run build creating a new prototype, and in the prototype doing npm install path/to/hmrc-frotend/package and installing/starting prototype and using hmrcAddToList (which imports govuk component) and seeing it doesn't error anymore)
The explanation in the README was a bit of sleuthing to make sure we were updating all the paths that needed to be changed and checking that the CSS path changes in 6.0.0 will work for services and prototypes
Still need to package this locally and test in a prototype, tested locally and it works
(tested by doing
npm run build
creating a new prototype, and in the prototype doingnpm install path/to/hmrc-frotend/package
and installing/starting prototype and using hmrcAddToList (which imports govuk component) and seeing it doesn't error anymore)