We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ResolvedConfig.createResolver
createIdResolver
1 parent fd38d07 commit 4795c4dCopy full SHA for 4795c4d
packages/vite/src/node/config.ts
@@ -606,6 +606,15 @@ export interface ResolvedConfig
606
ssr: ResolvedSSROptions
607
assetsInclude: (file: string) => boolean
608
logger: Logger
609
+ /**
610
+ * createResolver is deprecated. It only works for the client and ssr
611
+ * environments. The `aliasOnly` option is also not being used any more
612
+ * Plugins should move to createIdResolver(environment) instead.
613
+ * create an internal resolver to be used in special scenarios, e.g.
614
+ * optimizer & handling css @imports
615
+ *
616
+ * @deprecated Use `createIdResolver(environment)` instead.
617
+ */
618
createResolver: (options?: Partial<InternalResolveOptions>) => ResolveFn
619
optimizeDeps: DepOptimizationOptions
620
/** @internal */
0 commit comments