-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple packs same name different extension #2088
Comments
You literally saved me hours of struggle 👍 🎉 |
I'm not sure this is a Webpacker bug. I get that the behavior is not what's expected—it is most certainly different that Sprockets. I believe the underlying dissonance is that Webpack entry points (which we're calling "packs" in Webpacker) are typically configured as JS object key => value pairs, i.e., the property It might be weird to key the entry points including the extension—this would yield output names like For those finding this issue and wondering what to do, I'd recommend the "Webpack way" here would be to use a single entry point, your |
Fixed by #2476 |
If one adds multiple packs with the same name but a different extension for example
application.scss
andapplication.js
only the last one will make it to the webpack entry path configuration. This is done hereExpected behaviour would be that both paths are kept in the webpack entry paths
The text was updated successfully, but these errors were encountered: