chore(deps-dev): update eslint to v9 (#147)

This commit is contained in:
Marco Pasqualetti
2024-12-01 10:07:35 +01:00
committed by GitHub
parent 5fc68a1926
commit 11d425faa9
42 changed files with 665 additions and 504 deletions
+9 -11
View File
@@ -1,16 +1,7 @@
import type { Plugin } from 'vite'
import * as babel from '@babel/core'
import type { PluginItem } from '@babel/core'
import { isTuonoDynamicFnImported } from './utils'
import {
TUONO_MAIN_PACKAGE,
TUONO_DYNAMIC_FN_ID,
TUONO_LAZY_FN_ID,
} from './constants'
import * as t from '@babel/types'
import type { Plugin } from 'vite'
import type { PluginItem } from '@babel/core'
import type {
Identifier,
CallExpression,
@@ -18,6 +9,13 @@ import type {
StringLiteral,
} from '@babel/types'
import {
TUONO_MAIN_PACKAGE,
TUONO_DYNAMIC_FN_ID,
TUONO_LAZY_FN_ID,
} from './constants'
import { isTuonoDynamicFnImported } from './utils'
/**
* [SERVER build]
* This plugin just removes the `dynamic` imported function from any tuono import