Closed yrammos closed 2 years ago
Relevant files:
.js
.scss
and .css
(both pre- and post-build)
Does Vite provide a plugin for this (analogously to those available for WebPack)?
Should HTML files also receive the license header, like in #199?
Does Vite provide a plugin for this (analogously to those available for WebPack)?
As Vite is based on Rollup, maybe this plugin could fill the need. From what I read in this issue, it should work with Vite. Vite docs states that most Rollup plugins are usable in Vite out of the box.
Is there a reason why it would be needed through Vite on top of a GitHub action?
(Side note: I changed my name on the main branch, it was misspelled.)
@meduzen thanks for these suggestions. The GitHub action was a potential kludge that I explored, then soon enough abandoned, in case Vite didn't provide the necessary facilities. I have since reverted these commits.