New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@coloco/vite

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coloco/vite

A vite plugin for Coloco applications that handles aliasing and path resolution based on tsconfig.json

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@coloco/vite

A vite plugin for coloco that automatically maps tsconfig paths to vite aliases.
Since coloco uses a dual-root setup to resolve api codegen, this plugin makes assumptions about tsconfig that fits within that pattern.

Installation

npm install @coloco/vite

Usage

In vite.config.ts:

...
import { coloco, colocoAliases } from "./vite-tsconfig-aliases";

// https://vite.dev/config/
export default defineConfig({
  plugins: [..., coloco()],
  ...
  resolve: {
    alias: colocoAliases(),
  },
});

License

MIT

Keywords

coloco

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts