You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-05-22 08:55:42 +02: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:
+2
-2
@@ -29,8 +29,8 @@ function externalCSSPlugin() {
|
||||
return {
|
||||
name: 'external-css',
|
||||
transformIndexHtml: {
|
||||
enforce: 'post',
|
||||
transform() {
|
||||
order: 'post',
|
||||
handler() {
|
||||
return [
|
||||
{
|
||||
tag: 'link',
|
||||
|
||||
Reference in New Issue
Block a user