diff --git a/src/esbuild/swc.ts b/src/esbuild/swc.ts index 9822baaed..2ba0c5018 100644 --- a/src/esbuild/swc.ts +++ b/src/esbuild/swc.ts @@ -1,10 +1,10 @@ /** * Use SWC to emit decorator metadata */ -import { type JscConfig } from '@swc/core' -import { type Plugin } from 'esbuild' +import type { JscConfig } from '@swc/core' +import type { Plugin } from 'esbuild' import path from 'path' -import { type Logger } from '../log' +import type { Logger } from '../log' import { localRequire } from '../utils' export const swcPlugin = ({ logger }: { logger: Logger }): Plugin => { diff --git a/src/rollup/ts-resolve.ts b/src/rollup/ts-resolve.ts index 5a450c180..087446481 100644 --- a/src/rollup/ts-resolve.ts +++ b/src/rollup/ts-resolve.ts @@ -1,6 +1,6 @@ import fs from 'fs' import path from 'path' -import { type PluginImpl } from 'rollup' +import type { PluginImpl } from 'rollup' import _resolve from 'resolve' import createDebug from 'debug' import { builtinModules } from 'module'