You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should have been asked if I used Stimulus, and the custom generator should have created the relevant .js files.
What actually happened?
I was not asked if I used Stimulus, because all the USE_STIMULUS code is wrapped in an if USE_WEBPACK block; I instead got a reference to #14.
Additional context
It would be better to ask the user if they're using Stimulus in all cases, then install the relevant config if Webpack is being used, otherwise give the reference to #14.
As a result, the custom generator does not have an option to create index.js, and the user must do it themselves each time.