The webpack/base.js sample continues to throw errors, is an updated version available or are these options still supposed to be valid and it’s something in my app?
Title: Mordern Front-End Development for Rails: webpack config (10%)
The webpack/base.js sample continues to throw errors, is an updated version available or are these options still supposed to be valid and it’s something in my app?
Title: Mordern Front-End Development for Rails: webpack config (10%)
Sorry for not responding sooner, can you tell me where you are in the book, which version of the code is throwing the error and what the error is?
Thanks!
I did get it working, I ended up removing webpacker and reinstalling that and also reinstalling hotwire using rails hotwire:install and that seemed to take care of it.
The sample webpack config was throwing:
Cannot find module ‘fork-ts-checker-webpack-plugin’
and
TypeError: merge is not a function