multiple html files
See original GitHub issueI need purge a css file which have styles for multiple htmls, I have this script in my package.json:
"scripts":{
...
"postbuild": "purgecss --css build/styles/*.css --content build/*.html build/scripts/*.js --output build/styles"
....
}
but this only take the first file styles and the others are removed
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Multi-Page HTML Sites - LearnHowToProgram.com
As you know, many websites feature multiple pages. Different areas you can navigate between (usually with links, or a navigation menu) to see...
Read more >HTML input multiple Attribute - W3Schools
The multiple attribute is a boolean attribute. When present, it specifies that the user is allowed to enter more than one value in...
Read more >Is it more efficient to have multiple HTML files or just one big ...
The answer is no, it is not efficient to have only one big HTML file compared to 7 smaller files.
Read more >When does a website require multiple HTML files (JavaScript ...
I would say when need multiple pages. For example; About page, Services page, Contact page etc. Then you would create a separate HTML...
Read more >How to create multiple pages in HTML - Coderslang
How to create multiple pages in HTML · Step 1: Create a folder. The first step is to add a folder. · Step...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
when I use the flag
--content
with a wildcard like--content build/*.html
purgecss just purge the css for the first html. example:index1.html:
index2.html:
both files have link to one file like this:
the output only have:
spected:
The documentation was not updated to reflect the changes. The list of files should be comma separated.
should be
and
should be