mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-30 09:50:00 +00:00
Fix vite deprecations (#2885)
I wasn't able to fully migrate to esmodules because eslint fails then. Thus there's still a deprecation warning when running vite. (https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated)
This commit is contained in:
parent
b6465751e8
commit
00a9d96247
@ -29,8 +29,8 @@ function externalCSSPlugin() {
|
|||||||
return {
|
return {
|
||||||
name: 'external-css',
|
name: 'external-css',
|
||||||
transformIndexHtml: {
|
transformIndexHtml: {
|
||||||
enforce: 'post',
|
order: 'post',
|
||||||
transform() {
|
handler() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
tag: 'link',
|
tag: 'link',
|
||||||
|
Loading…
Reference in New Issue
Block a user