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 {
|
return {
|
||||||
name: 'external-css',
|
name: 'external-css',
|
||||||
transformIndexHtml: {
|
transformIndexHtml: {
|
||||||
enforce: 'post',
|
order: 'post',
|
||||||
transform() {
|
handler() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
tag: 'link',
|
tag: 'link',
|
||||||
|
|
Loading…
Reference in a new issue