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 only particular .js & .css files that are meant for an HTML file #243

Open
jeytii opened this issue Jul 20, 2018 · 2 comments
Open

Comments

@jeytii
Copy link

jeytii commented Jul 20, 2018

Suppose I have two HTML files (index.html & about.html); For the injection, I don't want both to share same .js and .css files. I only want index.js & index.css to be injected into index.html, and about.js & about.css into about.html. I think the best way to do it is using the transform() option, but how?

@dopeless
Copy link

I've got the same question. Anybody?

@jeytii
Copy link
Author

jeytii commented Oct 23, 2018

I once tried to return templated <link> and <script> tags using transform() and I found out that the method itself is what prevents the compiling of stylesheets.

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

2 participants