This post provides an excellent tutorial on how to replace the rails asset pipeline with webpack. However, it states that you should remove the turbolinks gem. Is there a way to do this and still use turbolinks?
You can use it directly from NPM https://www.npmjs.com/package/turbolinks and follow the provided documentation.
Here is the doc https://www.npmjs.com/package/turbolinks#installation-using-npm
This the same as when you use Turbolinks in other frameworks.