Skip to content
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

Allow multiple entry points with same basename #198

Closed
wants to merge 1 commit into from

Conversation

fsateler
Copy link
Contributor

This allows having eg, application.css and application.js

This allows having eg, application.css and application.js
@gauravtiwari
Copy link
Member

@fsateler Thanks 👍 and sorry this one has been hanging in for a while. Basically, the idea is to keep only Webpack entry files (JS) inside packs directory. Obviously, the main module can live anywhere inside the app/javascript or where ever the JS source is as long as it can be referenced and bootstrapped inside packs. The module should be responsible for all styles and assets instead of packs/entries. That way it will create the .css bundle for you after compilation (if any styles), which will be same name as entry/pack name. Does that make sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants