Skip to content

How to properly separate entrypoints (traditional Rails vs. Inertia) #553

Closed Answered by ElMassimo
leenyburger asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Colleen!

Something that might be happening is that some of the imports inside inertia.js end up importing some of the files that import turbolinks. In that scenario, even if unused, because turbolinks is not a "pure" library it wouldn't be tree-shaken and would end up in the bundle.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by leenyburger
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants