Injecting only particular .js & .css files that are meant for an HTML file
Open
- Dominant language
- JavaScript
- Stars
- 807
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the plugin's transform() option and how it selects assets for HTML injection. The desired outcome is for index.html to receive only index.js and index.css, while about.html receives only about.js and about.css.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100