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

injecting css when the entry point contains both css and js #9

Closed
squirmy opened this issue Oct 12, 2015 · 1 comment
Closed

injecting css when the entry point contains both css and js #9

squirmy opened this issue Oct 12, 2015 · 1 comment

Comments

@squirmy
Copy link

squirmy commented Oct 12, 2015

If I have an entry point (ie. app.js) which contains both javascript and css, is there currently a way to get the css file into a link in the html file?

I found a way, but had to modify the plugin to support it.
https://github.com/squirmy/indexhtml-webpack-plugin/

Here's an example of it in use:
https://github.com/squirmy/vue-loader-example/

The implementation is working for me, but perhaps doesn't feel 100% as it assumes that you're wanting a .css file to be linked. I feel like this a good feature to have - I'm happy to take some feedback and polish it up if needs be.

Could this be related to #2 ?

@squirmy
Copy link
Author

squirmy commented Oct 13, 2015

I've changed my implementation a little so it aligns with #2.

@squirmy squirmy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
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

No branches or pull requests

1 participant