File tree 6 files changed +4
-9
lines changed
6 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 38
38
"@babel/core" : " ^7.18.2" ,
39
39
"@babel/plugin-syntax-import-meta" : " ^7.10.4" ,
40
40
"@babel/plugin-transform-typescript" : " ^7.18.4" ,
41
- "@rollup/pluginutils" : " ^4.2.1" ,
42
41
"@vue/babel-plugin-jsx" : " ^1.1.1"
43
42
},
44
43
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as babel from '@babel/core'
5
5
import jsx from '@vue/babel-plugin-jsx'
6
6
// @ts -expect-error missing type
7
7
import importMeta from '@babel/plugin-syntax-import-meta'
8
- import { createFilter , normalizePath } from '@rollup/pluginutils '
8
+ import { createFilter , normalizePath } from 'vite '
9
9
import type { ComponentOptions } from 'vue'
10
10
import type { Plugin } from 'vite'
11
11
import type { Options } from './types'
Original file line number Diff line number Diff line change 1
1
import type { VueJSXPluginOptions } from '@vue/babel-plugin-jsx'
2
- import type { FilterPattern } from '@rollup/pluginutils '
2
+ import type { FilterPattern } from 'vite '
3
3
4
4
export interface FilterOptions {
5
5
include ?: FilterPattern
Original file line number Diff line number Diff line change 47
47
"source-map" : " ^0.6.1" ,
48
48
"vite" : " workspace:*" ,
49
49
"vue" : " ^3.2.37"
50
- },
51
- "dependencies" : {
52
- "@rollup/pluginutils" : " ^4.2.1"
53
50
}
54
51
}
Original file line number Diff line number Diff line change 1
1
import fs from 'fs'
2
2
import type { Plugin , ViteDevServer } from 'vite'
3
- import { createFilter } from '@rollup/pluginutils '
3
+ import { createFilter } from 'vite '
4
4
/* eslint-disable import/no-duplicates */
5
5
import type {
6
6
SFCBlock ,
Original file line number Diff line number Diff line change 1
1
import path from 'path'
2
2
import type { SFCBlock , SFCDescriptor } from 'vue/compiler-sfc'
3
3
import type { PluginContext , SourceMap , TransformPluginContext } from 'rollup'
4
- import { normalizePath } from '@rollup/pluginutils'
5
4
import type { RawSourceMap } from 'source-map'
6
5
import type { EncodedSourceMap as TraceEncodedSourceMap } from '@jridgewell/trace-mapping'
7
6
import { TraceMap , eachMapping } from '@jridgewell/trace-mapping'
8
7
import type { EncodedSourceMap as GenEncodedSourceMap } from '@jridgewell/gen-mapping'
9
8
import { addMapping , fromMap , toEncodedMap } from '@jridgewell/gen-mapping'
10
- import { transformWithEsbuild } from 'vite'
9
+ import { normalizePath , transformWithEsbuild } from 'vite'
11
10
import {
12
11
createDescriptor ,
13
12
getPrevDescriptor ,
You can’t perform that action at this time.
0 commit comments