File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/**
22 * Use SWC to emit decorator metadata
33 */
4- import { type JscConfig } from '@swc/core'
5- import { type Plugin } from 'esbuild'
4+ import type { JscConfig } from '@swc/core'
5+ import type { Plugin } from 'esbuild'
66import path from 'path'
7- import { type Logger } from '../log'
7+ import type { Logger } from '../log'
88import { localRequire } from '../utils'
99
1010export const swcPlugin = ( { logger } : { logger : Logger } ) : Plugin => {
Original file line number Diff line number Diff line change 11import fs from 'fs'
22import path from 'path'
3- import { type PluginImpl } from 'rollup'
3+ import type { PluginImpl } from 'rollup'
44import _resolve from 'resolve'
55import createDebug from 'debug'
66import { builtinModules } from 'module'
You can’t perform that action at this time.
0 commit comments