mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-02 04:32:23 +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
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ function externalCSSPlugin() {
|
|||
return {
|
||||
name: 'external-css',
|
||||
transformIndexHtml: {
|
||||
enforce: 'post',
|
||||
transform() {
|
||||
order: 'post',
|
||||
handler() {
|
||||
return [
|
||||
{
|
||||
tag: 'link',
|
||||
|
|
Loading…
Reference in a new issue